diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-22 17:09:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 08:08:00 +0100 |
commit | ad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (patch) | |
tree | 5b11b7812b84c2647c64d1002bad7ed8a1d1754d /svtools/source/uno/genericunodialog.cxx | |
parent | a53577e6ff3629c4e9219616960d89eea9463593 (diff) |
Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
Diffstat (limited to 'svtools/source/uno/genericunodialog.cxx')
-rw-r--r-- | svtools/source/uno/genericunodialog.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index 3f225cd7a591..189b3b5853de 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/ucb/AlreadyInitializedException.hpp> #include <toolkit/awt/vclxwindow.hxx> -#include <comphelper/extract.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <comphelper/property.hxx> @@ -127,8 +126,7 @@ sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any& { case UNODIALOG_PROPERTY_ID_PARENT: { - Reference<starawt::XWindow> xNew; - ::cppu::extractInterface(xNew, rValue); + Reference<starawt::XWindow> xNew(rValue, css::uno::UNO_QUERY); if (xNew != m_xParent) { rConvertedValue <<= xNew; |