diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-23 14:46:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 4e6410ba0155d4c2ac539fd37f75aa72d489e206 (patch) | |
tree | d6200cbd141bb37350a42dd1ba833fc831f5dd68 /basctl | |
parent | adef956348b9ad0420a482367f34ca1df81ab159 (diff) |
loplugin:constantfunction: unotools
Change-Id: Icf543973dc9edde270016c8af7e4c08c57eff650
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/basobj3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 3bde7a4b32fe..2e41965b81c9 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -243,7 +243,7 @@ OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument, SbMethod* pMethod = NULL; boost::scoped_ptr< MacroChooser > pChooser( new MacroChooser( NULL, true ) ); - if ( bChooseOnly || !SvtModuleOptions().IsBasicIDE() ) + if ( bChooseOnly || !SvtModuleOptions::IsBasicIDE() ) pChooser->SetMode(MacroChooser::ChooseOnly); if ( !bChooseOnly && rxLimitToDocument.is() ) diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx index 60ada3d5af34..25a876878aed 100644 --- a/basctl/source/basicide/basobj3.cxx +++ b/basctl/source/basicide/basobj3.cxx @@ -380,7 +380,7 @@ long HandleBasicError( StarBASIC* pBasic ) long nRet = 0; Shell* pShell = 0; - if ( SvtModuleOptions().IsBasicIDE() ) + if ( SvtModuleOptions::IsBasicIDE() ) { BasicManager* pBasMgr = FindBasicManager( pBasic ); if ( pBasMgr ) |