diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-07 10:59:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-07 13:05:34 +0200 |
commit | 869aaf83bd6159dbfbc3e648b20537fd135dc6ca (patch) | |
tree | 0f2175b3ef1796323592299ee4b93a0f8f33fee2 /framework | |
parent | 4906c243877681b4559b495c1dfb4dbf8c51cfb8 (diff) |
convert SvtModuleOptions::EModule to scoped enum
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/dispatch/closedispatcher.cxx | 2 | ||||
-rw-r--r-- | framework/source/dispatch/startmoduledispatcher.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/frame.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx index 5eb206b0cab7..9548861a41ee 100644 --- a/framework/source/dispatch/closedispatcher.cxx +++ b/framework/source/dispatch/closedispatcher.cxx @@ -345,7 +345,7 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback) { if (eOperation == E_CLOSE_FRAME) bTerminateApp = true; - else if( SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE) ) + else if( SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::EModule::STARTMODULE) ) bEstablishBackingMode = true; else bTerminateApp = true; diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx index e0e17189409a..726802cbb050 100644 --- a/framework/source/dispatch/startmoduledispatcher.cxx +++ b/framework/source/dispatch/startmoduledispatcher.cxx @@ -112,7 +112,7 @@ void SAL_CALL StartModuleDispatcher::removeStatusListener(const css::uno::Refere bool StartModuleDispatcher::implts_isBackingModePossible() { - if ( ! SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE)) + if ( ! SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::EModule::STARTMODULE)) return false; css::uno::Reference< css::frame::XFramesSupplier > xDesktop( diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index de6fd0baddf5..dc6eba74b022 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -3120,7 +3120,7 @@ void Frame::impl_setCloser( /*IN*/ const css::uno::Reference< css::frame::XFrame /*IN*/ bool bState ) { // Note: If start module is not installed - no closer has to be shown! - if (!SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE)) + if (!SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::EModule::STARTMODULE)) return; try |