summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:50:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:27 +0200
commit8fe9b36f93c9b0744c978aad7306e6772df3692a (patch)
tree2bd290311870b3651575f702ffd7c60800964d89 /fpicker
parent86c89322ea925dc2ba732090688b28e61b245aea (diff)
loplugin:staticcall
Change-Id: Ic331af3539ed0a8ce6f56697ee1dede004685c32
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/commonpicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx
index 745c877b5731..963a7fb46568 100644
--- a/fpicker/source/office/commonpicker.cxx
+++ b/fpicker/source/office/commonpicker.cxx
@@ -232,7 +232,7 @@ namespace svt
// _and_ add as event listener to the parent - in case the parent is destroyed
// before we are disposed, our disposal would access dead VCL windows then ....
m_xDialogParent = VCLUnoHelper::GetInterface( m_pDlg->GetParent() );
- xWindowComp = xWindowComp.query( m_xDialogParent );
+ xWindowComp.set(m_xDialogParent, css::uno::UNO_QUERY);
OSL_ENSURE( xWindowComp.is() || !m_pDlg->GetParent(), "OCommonPicker::createFileDialog: invalid window component (the parent this time)!" );
if ( xWindowComp.is() )
{