[Libreoffice-commits] core.git: cui/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Sep 5 07:40:10 UTC 2017
cui/source/customize/cfg.cxx | 2 +-
cui/source/inc/cfg.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 25da12468b6b76c2f4e3d97f9e3775edc603b9fa
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Sep 5 09:39:19 2017 +0200
cui: fix loplugin:constparams warning
Change-Id: Ibd61a5e3659b74c67909e351472acdee752a5abc
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index efb488fbfe97..d4e7d6ea5eea 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -933,7 +933,7 @@ void ContextMenuSaveInData::Reset()
m_pRootEntry.reset();
}
-void ContextMenuSaveInData::ResetContextMenu( SvxConfigEntry* pEntry )
+void ContextMenuSaveInData::ResetContextMenu( const SvxConfigEntry* pEntry )
{
try
{
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 06b2c4d1c844..dda5a5fe44bc 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -242,7 +242,7 @@ public:
void Reset() override;
bool Apply() override;
- void ResetContextMenu( SvxConfigEntry* pEntry );
+ void ResetContextMenu( const SvxConfigEntry* pEntry );
};
class SvxConfigEntry
More information about the Libreoffice-commits
mailing list