diff options
Diffstat (limited to 'framework/source')
7 files changed, 9 insertions, 9 deletions
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index b8b637c5455e..b81abece09c1 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -278,7 +278,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::getOrCreateRootStorag return xStorage; } -css::uno::Reference< css::embed::XStorage > PresetHandler::getWorkingStorageUser() +css::uno::Reference< css::embed::XStorage > PresetHandler::getWorkingStorageUser() const { SolarMutexGuard g; return m_xWorkingStorageUser; diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx index 072011b1de06..027f4656cab7 100644 --- a/framework/source/inc/accelerators/presethandler.hxx +++ b/framework/source/inc/accelerators/presethandler.hxx @@ -158,7 +158,7 @@ class PresetHandler @return css::embed::XStorage which the current working storage. */ - css::uno::Reference< css::embed::XStorage > getWorkingStorageUser(); + css::uno::Reference< css::embed::XStorage > getWorkingStorageUser() const; /** @short check if there is a parent storage well known for the specified child storage and return it. diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx index c24cee6ee53f..377929309fdc 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx @@ -87,7 +87,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableW bool isPreviewFrame(); // layouting - bool isLayoutDirty() { return m_bLayoutDirty;} + bool isLayoutDirty() const { return m_bLayoutDirty;} void doLayout(const ::Size& aContainerSize); // creation/destruction diff --git a/framework/source/uiconfiguration/globalsettings.cxx b/framework/source/uiconfiguration/globalsettings.cxx index 73bc3effb7e7..02d6032093f7 100644 --- a/framework/source/uiconfiguration/globalsettings.cxx +++ b/framework/source/uiconfiguration/globalsettings.cxx @@ -243,7 +243,7 @@ GlobalSettings::~GlobalSettings() } // settings access -bool GlobalSettings::HasToolbarStatesInfo() +bool GlobalSettings::HasToolbarStatesInfo() const { GlobalSettings_Access* pSettings( GetGlobalSettings( m_xContext )); diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index a49f248d3a4d..ed21dd818d5e 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -1149,13 +1149,13 @@ void ImageManagerImpl::storeToStorage( const uno::Reference< XStorage >& Storage } } -bool ImageManagerImpl::isModified() +bool ImageManagerImpl::isModified() const { SolarMutexGuard g; return m_bModified; } -bool ImageManagerImpl::isReadOnly() +bool ImageManagerImpl::isReadOnly() const { SolarMutexGuard g; return m_bReadOnly; diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx index 27835e87fca1..13cbfd4c7ec2 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.hxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx @@ -140,9 +140,9 @@ namespace framework /// @throws css::uno::RuntimeException void storeToStorage( const css::uno::Reference< css::embed::XStorage >& Storage ); /// @throws css::uno::RuntimeException - bool isModified(); + bool isModified() const; /// @throws css::uno::RuntimeException - bool isReadOnly(); + bool isReadOnly() const; void clear(); diff --git a/framework/source/uielement/toolbarmerger.cxx b/framework/source/uielement/toolbarmerger.cxx index e66a31e77d85..4e257d02954b 100644 --- a/framework/source/uielement/toolbarmerger.cxx +++ b/framework/source/uielement/toolbarmerger.cxx @@ -224,7 +224,7 @@ void ToolBarMerger::ConvertSequenceToValues( position of the reference point and the toolbar used. */ ReferenceToolbarPathInfo ToolBarMerger::FindReferencePoint( - ToolBox* pToolbar, + const ToolBox* pToolbar, const OUString& rReferencePoint ) { ReferenceToolbarPathInfo aResult; |