diff options
Diffstat (limited to 'scripting/source/dlgprov/dlgprov.cxx')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 3a4ceef7a2ec..1c137c0a97ca 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -379,11 +379,11 @@ static ::rtl::OUString aResourceResolverPropName(RTL_CONSTASCII_USTRINGPARAM("Re // TODO: dialogs in packages Reference< XLibraryContainer > xLibContainer; - if ( sLocation == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("application")) ) + if ( sLocation.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("application")) ) { xLibContainer = Reference< XLibraryContainer >( SFX_APP()->GetDialogContainer(), UNO_QUERY ); } - else if ( sLocation == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("document")) ) + else if ( sLocation.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("document")) ) { Reference< XEmbeddedScripts > xDocumentScripts( m_xModel, UNO_QUERY ); if ( xDocumentScripts.is() ) |