summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewfrm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 7e70cb249c64..241e3c8a2709 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -2635,12 +2635,12 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const OUString& sMacro )
}
BasicManager* pBasMgr = nullptr;
- if ( aLocation.equalsIgnoreAsciiCase( "application" ) )
+ if ( aLocation == "application" )
{
// application basic
pBasMgr = SfxApplication::GetBasicManager();
}
- else if ( aLocation.equalsIgnoreAsciiCase( "document" ) )
+ else if ( aLocation == "document" )
{
pBasMgr = GetObjectShell()->GetBasicManager();
}
@@ -2667,11 +2667,11 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const OUString& sMacro )
// open lib container and break operation if it couldn't be opened
css::uno::Reference< css::script::XLibraryContainer > xLibCont;
- if ( aLocation.equalsIgnoreAsciiCase( "application" ) )
+ if ( aLocation == "application" )
{
xLibCont = SfxGetpApp()->GetBasicContainer();
}
- else if ( aLocation.equalsIgnoreAsciiCase( "document" ) )
+ else if ( aLocation == "document" )
{
xLibCont = GetObjectShell()->GetBasicContainer();
}