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

Caolán McNamara caolanm at redhat.com
Fri Jan 2 11:39:37 PST 2015


 vcl/inc/PhysicalFontCollection.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3fc1902aa755c86f2625a4102ccbab7b7c083ea5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 2 19:37:24 2015 +0000

    can't have an unordered_map of const OUStrings with gcc 4.8.2
    
    Change-Id: Id80f524bd8f1ac19d99e3cb6edb8c7f0ba4ab586

diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx
index 28e1807..53bdfb4 100644
--- a/vcl/inc/PhysicalFontCollection.hxx
+++ b/vcl/inc/PhysicalFontCollection.hxx
@@ -37,7 +37,7 @@ private:
     mutable bool            mbMatchData;    // true if matching attributes are initialized
     bool                    mbMapNames;     // true if MapNames are available
 
-    typedef std::unordered_map<const OUString, PhysicalFontFamily*,OUStringHash> PhysicalFontFamilies;
+    typedef std::unordered_map<OUString, PhysicalFontFamily*,OUStringHash> PhysicalFontFamilies;
     PhysicalFontFamilies    maPhysicalFontFamilies;
 
     ImplPreMatchFontSubstitution* mpPreMatchHook;       // device specific prematch substitution


More information about the Libreoffice-commits mailing list