summaryrefslogtreecommitdiff
path: root/xmloff/source/style/prstylecond.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/prstylecond.cxx')
-rw-r--r--xmloff/source/style/prstylecond.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmloff/source/style/prstylecond.cxx b/xmloff/source/style/prstylecond.cxx
index ad16ee813cb8..e384a645dffe 100644
--- a/xmloff/source/style/prstylecond.cxx
+++ b/xmloff/source/style/prstylecond.cxx
@@ -25,12 +25,18 @@ using namespace ::xmloff::token;
// note: keep this in sync with the list of conditions in sw/source/uibase/chrdlg/ccoll.cxx
-static const struct ConditionMap
+namespace {
+
+struct ConditionMap
{
char const* aInternal;
XMLTokenEnum const nExternal;
int const aValue;
-} g_ConditionMap[] =
+};
+
+}
+
+static const ConditionMap g_ConditionMap[] =
{
{ "TableHeader", XML_TABLE_HEADER, -1 },
{ "Table", XML_TABLE, -1 },