Kaydet (Commit) 2c90156b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: I6bc306aa59b5610b987871ea8cf6e561233178c6
üst 75838570
...@@ -144,7 +144,7 @@ void SvxEventConfigPage::ImplInitDocument() ...@@ -144,7 +144,7 @@ void SvxEventConfigPage::ImplInitDocument()
if ( xSupplier.is() ) if ( xSupplier.is() )
{ {
m_xDocumentEvents = xSupplier->getEvents(); m_xDocumentEvents = xSupplier->getEvents();
m_xDocumentModifiable = m_xDocumentModifiable.query( xModel ); m_xDocumentModifiable.set(xModel, css::uno::UNO_QUERY);
OUString aTitle = ::comphelper::DocumentInfo::getDocumentTitle( xModel ); OUString aTitle = ::comphelper::DocumentInfo::getDocumentTitle( xModel );
sal_uInt16 nPos = m_pSaveInListBox->InsertEntry( aTitle ); sal_uInt16 nPos = m_pSaveInListBox->InsertEntry( aTitle );
......
...@@ -167,7 +167,7 @@ void SearchThread::ImplSearch( const INetURLObject& rStartURL, ...@@ -167,7 +167,7 @@ void SearchThread::ImplSearch( const INetURLObject& rStartURL,
if( ( aDesc.Detect() && if( ( aDesc.Detect() &&
::std::find( rFormats.begin(), ::std::find( rFormats.begin(),
rFormats.end(), rFormats.end(),
aDesc.GetImportFormatShortName( GraphicDescriptor::GetImportFormatShortName(
aDesc.GetFileFormat() ).toAsciiLowerCase() ) aDesc.GetFileFormat() ).toAsciiLowerCase() )
!= rFormats.end() ) || != rFormats.end() ) ||
::std::find( rFormats.begin(), ::std::find( rFormats.begin(),
......
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