diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-12 09:07:48 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-12 09:07:54 +0200 |
commit | 658d5136f16f562bb341aee8424816c6cd22144e (patch) | |
tree | 6b05e745d5c36ed52f6d1eeac541854cc81a2b99 | |
parent | 61867bd74995c0fc35d607427958013998839506 (diff) |
WaE: anonymous type with no linkage used to declare variable with linkage
Let's just use old-fashioned (?) "static" linkage instead then for this
variable if the anonymous namespace thing confuses some compilers.
Change-Id: Ibf0105f9c87502b067219f119304b6fa5003b443
-rw-r--r-- | sc/source/filter/xml/editattributemap.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/filter/xml/editattributemap.cxx b/sc/source/filter/xml/editattributemap.cxx index 22b4016bd132..3c9c889a1114 100644 --- a/sc/source/filter/xml/editattributemap.cxx +++ b/sc/source/filter/xml/editattributemap.cxx @@ -12,9 +12,7 @@ #include "editeng/eeitem.hxx" #include "editeng/memberids.hrc" -namespace { - -struct { +static struct { const char* mpXMLName; const char* mpAPIName; sal_uInt16 mnItemID; @@ -69,8 +67,6 @@ struct { { "country-complex", "CharLocaleComplex", EE_CHAR_LANGUAGE_CTL, MID_LANG_LOCALE }, }; -} - ScXMLEditAttributeMap::Entry::Entry(sal_uInt16 nItemID, sal_uInt8 nFlag) : mnItemID(nItemID), mnFlag(nFlag) {} |