diff options
-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(), |