summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgass.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r--sd/source/ui/dlg/dlgass.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 76179bd37cd4..58e5d25e3073 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -807,9 +807,9 @@ void AssistentDlgImpl::ScanDocmenu (void)
OUString sFactoryName;
for( sal_Int32 i=0; i<nPropCount; ++i )
{
- if( lProps[i].Name.compareToAscii( "DocumentService" ) == 0 &&
+ if( lProps[i].Name.equalsAscii( "DocumentService" ) &&
(lProps[i].Value >>= sFactoryName) &&
- sFactoryName.compareToAscii( "com.sun.star.presentation.PresentationDocument" ) == 0 )
+ sFactoryName.equalsAscii( "com.sun.star.presentation.PresentationDocument" ) )
{
// yes, it's an impress document
INetURLObject aURL;