diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 08:56:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 08:56:51 +0200 |
commit | 08a943fc379c5f8af25128c935e93e6a9d82d136 (patch) | |
tree | 3a2e8dd41f7d52985630c168f60d98bdff375c04 /forms/source/component/FormComponent.cxx | |
parent | 4592d27dca75e73218ddca2039b1a1332adc828c (diff) |
Get rid of trivial comphelper::query_interface wrapper
Change-Id: I2b9dafd2a34d055dcd8b8c4d894be30dc821d3be
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 8f0aea69fbae..33f584a9dec3 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -1748,8 +1748,8 @@ void OBoundControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, co } // Check if we and the given model have a common ancestor (up to the forms collection) - Reference<XChild> xCont; - query_interface(static_cast<XWeak*>(this), xCont); + Reference<XChild> xCont( + static_cast<XWeak*>(this), css::uno::UNO_QUERY); Reference< XInterface > xMyTopLevel = xCont->getParent(); while (xMyTopLevel.is()) { |