summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-21 08:56:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-21 08:56:51 +0200
commit08a943fc379c5f8af25128c935e93e6a9d82d136 (patch)
tree3a2e8dd41f7d52985630c168f60d98bdff375c04 /svx/source
parent4592d27dca75e73218ddca2039b1a1332adc828c (diff)
Get rid of trivial comphelper::query_interface wrapper
Change-Id: I2b9dafd2a34d055dcd8b8c4d894be30dc821d3be
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/form/fmobj.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx
index 7d7bd1bfde04..f70af85136de 100644
--- a/svx/source/form/fmobj.cxx
+++ b/svx/source/form/fmobj.cxx
@@ -431,7 +431,8 @@ namespace
sReturn = sCurrentIndex;
// travel up
- if (::comphelper::query_interface(Reference< XInterface >(xParent),xChild))
+ xChild.set(xParent, css::uno::UNO_QUERY);
+ if (xChild.is())
xParent = Reference< ::com::sun::star::container::XIndexAccess>(xChild->getParent(), UNO_QUERY);
}