Kaydet (Commit) 8fe9b36f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: Ic331af3539ed0a8ce6f56697ee1dede004685c32
üst 86c89322
......@@ -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() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment