[Libreoffice-commits] core.git: cui/source

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 28 15:24:50 UTC 2019


 cui/source/options/treeopt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 589be39ac70db855ba487928f5830942707a515e
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Thu Nov 28 08:41:09 2019 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Thu Nov 28 16:24:05 2019 +0100

    ModuleToGroupNameMap_Impl: Use OUStringLiteral instead of OUString
    
    This reduces load-time initialization.
    
    Thanks to Mike Kaganski and Stephan Bergmann for
    pointing this out in https://gerrit.libreoffice.org/#/c/83488/ .
    
    Change-Id: I1e2001a324d96fb96f7d4db52f61dcdb20100cc4
    Reviewed-on: https://gerrit.libreoffice.org/83960
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 69f59f745421..9554159bc54a 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -134,7 +134,7 @@ namespace {
 
 struct ModuleToGroupNameMap_Impl
 {
-    OUString    m_pModule;
+    OUStringLiteral m_pModule;
     OUString    m_sGroupName;
     sal_uInt16  m_nNodeId;
 };


More information about the Libreoffice-commits mailing list