[Libreoffice-commits] core.git: include/vcl

Noel (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 15 08:17:52 UTC 2021


 include/vcl/ITiledRenderable.hxx |    2 +-
 include/vcl/uitest/uiobject.hxx  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0a900287cff32c7fd94f498f8077a3a2d162e131
Author:     Noel <noel.grandin at collabora.co.uk>
AuthorDate: Sun Mar 14 18:02:13 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Mar 15 09:17:13 2021 +0100

    no need for this map<> key to be const
    
    it is a value type
    
    Change-Id: If2b122a72b3e0359a9b7996ede85e625a44102d8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112476
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index 42689ed98c2a..1fa0d7dcd060 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -46,7 +46,7 @@ class VCL_DLLPUBLIC ITiledRenderable
 {
 public:
 
-    typedef std::map<const OUString, OUString>  StringMap;
+    typedef std::map<OUString, OUString>  StringMap;
 
     virtual ~ITiledRenderable();
 
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index e2cb07384cf7..c9f2b922a792 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -40,7 +40,7 @@ class MenuButton;
 class ToolBox;
 namespace weld { class CustomWidgetController; }
 
-typedef std::map<const OUString, OUString> StringMap;
+typedef std::map<OUString, OUString> StringMap;
 
 /**
  * This class wraps a UI object like vcl::Window and provides


More information about the Libreoffice-commits mailing list