summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-02 18:48:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 18:49:15 +0000
commit875d45d8bd372cc20397b799af5eeec389f725bd (patch)
treeb5528ade302bf09930f2ed28d0c796556549beb8 /unotools
parentd939b401c7b9de79f4ea99f03cb14e9423bf912e (diff)
can't have an unordered_map of const OUStrings with gcc 4.8.2
Change-Id: I2527088fec51e597c406077e459969359a0ab28e
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/fontdefs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/fontdefs.cxx b/unotools/source/misc/fontdefs.cxx
index 37915aab5a07..f368cc628481 100644
--- a/unotools/source/misc/fontdefs.cxx
+++ b/unotools/source/misc/fontdefs.cxx
@@ -421,7 +421,7 @@ OUString GetEnglishSearchFontName(const OUString& rInName)
// translate normalized localized name to its normalized English ASCII name
if( bNeedTranslation )
{
- typedef std::unordered_map<const OUString, const char*, OUStringHash> FontNameDictionary;
+ typedef std::unordered_map<OUString, const char*, OUStringHash> FontNameDictionary;
static FontNameDictionary aDictionary( SAL_N_ELEMENTS(aImplLocalizedNamesList) );
// the font name dictionary needs to be intialized once
if( aDictionary.empty() )