diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:49:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:24 +0200 |
commit | 2c90156b763d5e90ef916a7f4dd7c7db9241c3cd (patch) | |
tree | 4833306ffc642db7062b7be268c17235bba59a45 /cui | |
parent | 75838570c39ac5f399c1903d259355f3b80e07da (diff) |
loplugin:staticcall
Change-Id: I6bc306aa59b5610b987871ea8cf6e561233178c6
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/eventdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx index 8d2111fd5018..92238045faf3 100644 --- a/cui/source/customize/eventdlg.cxx +++ b/cui/source/customize/eventdlg.cxx @@ -144,7 +144,7 @@ void SvxEventConfigPage::ImplInitDocument() if ( xSupplier.is() ) { m_xDocumentEvents = xSupplier->getEvents(); - m_xDocumentModifiable = m_xDocumentModifiable.query( xModel ); + m_xDocumentModifiable.set(xModel, css::uno::UNO_QUERY); OUString aTitle = ::comphelper::DocumentInfo::getDocumentTitle( xModel ); sal_uInt16 nPos = m_pSaveInListBox->InsertEntry( aTitle ); diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index cc2daab99e94..0dbe89c2fb2d 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -167,7 +167,7 @@ void SearchThread::ImplSearch( const INetURLObject& rStartURL, if( ( aDesc.Detect() && ::std::find( rFormats.begin(), rFormats.end(), - aDesc.GetImportFormatShortName( + GraphicDescriptor::GetImportFormatShortName( aDesc.GetFileFormat() ).toAsciiLowerCase() ) != rFormats.end() ) || ::std::find( rFormats.begin(), |