summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 29f9e1f7527b..4d3c334668be 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -47,6 +47,8 @@
using namespace ::com::sun::star;
using namespace ::xmloff::token;
+namespace {
+
struct SvXMLNumFmtEntry
{
OUString const aName;
@@ -57,6 +59,8 @@ struct SvXMLNumFmtEntry
aName(rN), nKey(nK), bRemoveAfterUse(bR) {}
};
+}
+
class SvXMLNumImpData
{
SvNumberFormatter* pFormatter;
@@ -109,6 +113,8 @@ struct SvXMLNumberInfo
std::map<sal_Int32, OUString> m_EmbeddedElements;
};
+namespace {
+
class SvXMLNumFmtElementContext : public SvXMLImportContext
{
SvXMLNumFormatContext& rParent;
@@ -192,8 +198,6 @@ public:
virtual void EndElement() override;
};
-namespace {
-
enum SvXMLStyleTokens
{
XML_TOK_STYLE_TEXT,
@@ -307,6 +311,8 @@ static const SvXMLEnumMapEntry<bool> aFormatSourceMap[] =
{ XML_TOKEN_INVALID, false }
};
+namespace {
+
struct SvXMLDefaultDateFormat
{
NfIndexTableOffset const eFormat;
@@ -320,6 +326,8 @@ struct SvXMLDefaultDateFormat
bool const bSystem;
};
+}
+
static const SvXMLDefaultDateFormat aDefaultDateFormats[] =
{
// format day-of-week day month year hours minutes seconds format-source