summaryrefslogtreecommitdiff
path: root/framework/source/fwe/classes
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/classes')
-rw-r--r--framework/source/fwe/classes/framelistanalyzer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx
index 8d781c5898c4..a223b3db41e9 100644
--- a/framework/source/fwe/classes/framelistanalyzer.cxx
+++ b/framework/source/fwe/classes/framelistanalyzer.cxx
@@ -126,7 +126,7 @@ void FrameListAnalyzer::impl_analyze()
css::uno::Reference< css::uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
css::uno::Reference< css::frame::XModuleManager2 > xModuleMgr = css::frame::ModuleManager::create(xContext);
::rtl::OUString sModule = xModuleMgr->identify(m_xReferenceFrame);
- m_bReferenceIsBacking = sModule.equals(SERVICENAME_STARTMODULE);
+ m_bReferenceIsBacking = sModule.equals("com.sun.star.frame.StartModule");
}
catch(const css::frame::UnknownModuleException&)
{
@@ -201,7 +201,7 @@ void FrameListAnalyzer::impl_analyze()
css::uno::Reference< css::uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
css::uno::Reference< css::frame::XModuleManager2 > xModuleMgr = css::frame::ModuleManager::create(xContext);
::rtl::OUString sModule = xModuleMgr->identify(xFrame);
- if (sModule.equals(SERVICENAME_STARTMODULE))
+ if (sModule.equals("com.sun.star.frame.StartModule"))
{
m_xBackingComponent = xFrame;
continue;