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
This commit is contained in:
@@ -12,9 +12,7 @@
|
|||||||
#include "editeng/eeitem.hxx"
|
#include "editeng/eeitem.hxx"
|
||||||
#include "editeng/memberids.hrc"
|
#include "editeng/memberids.hrc"
|
||||||
|
|
||||||
namespace {
|
static struct {
|
||||||
|
|
||||||
struct {
|
|
||||||
const char* mpXMLName;
|
const char* mpXMLName;
|
||||||
const char* mpAPIName;
|
const char* mpAPIName;
|
||||||
sal_uInt16 mnItemID;
|
sal_uInt16 mnItemID;
|
||||||
@@ -69,8 +67,6 @@ struct {
|
|||||||
{ "country-complex", "CharLocaleComplex", EE_CHAR_LANGUAGE_CTL, MID_LANG_LOCALE },
|
{ "country-complex", "CharLocaleComplex", EE_CHAR_LANGUAGE_CTL, MID_LANG_LOCALE },
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ScXMLEditAttributeMap::Entry::Entry(sal_uInt16 nItemID, sal_uInt8 nFlag) :
|
ScXMLEditAttributeMap::Entry::Entry(sal_uInt16 nItemID, sal_uInt8 nFlag) :
|
||||||
mnItemID(nItemID), mnFlag(nFlag) {}
|
mnItemID(nItemID), mnFlag(nFlag) {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user