summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/themeelementscontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/themeelementscontext.cxx')
-rw-r--r--oox/source/drawingml/themeelementscontext.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/oox/source/drawingml/themeelementscontext.cxx b/oox/source/drawingml/themeelementscontext.cxx
index 8c94a9bf74db..3919a3790bd6 100644
--- a/oox/source/drawingml/themeelementscontext.cxx
+++ b/oox/source/drawingml/themeelementscontext.cxx
@@ -38,6 +38,8 @@ using namespace ::com::sun::star::xml::sax;
namespace oox {
namespace drawingml {
+namespace {
+
class FillStyleListContext : public ContextHandler2
{
public:
@@ -48,6 +50,8 @@ private:
FillStyleList& mrFillStyleList;
};
+}
+
FillStyleListContext::FillStyleListContext( ContextHandler2Helper const & rParent, FillStyleList& rFillStyleList ) :
ContextHandler2( rParent ),
mrFillStyleList( rFillStyleList )
@@ -70,6 +74,8 @@ ContextHandlerRef FillStyleListContext::onCreateContext( sal_Int32 nElement, con
return nullptr;
}
+namespace {
+
class LineStyleListContext : public ContextHandler2
{
public:
@@ -80,6 +86,8 @@ private:
LineStyleList& mrLineStyleList;
};
+}
+
LineStyleListContext::LineStyleListContext( ContextHandler2Helper const & rParent, LineStyleList& rLineStyleList ) :
ContextHandler2( rParent ),
mrLineStyleList( rLineStyleList )
@@ -97,6 +105,8 @@ ContextHandlerRef LineStyleListContext::onCreateContext( sal_Int32 nElement, con
return nullptr;
}
+namespace {
+
class EffectStyleListContext : public ContextHandler2
{
public:
@@ -107,6 +117,8 @@ private:
EffectStyleList& mrEffectStyleList;
};
+}
+
EffectStyleListContext::EffectStyleListContext( ContextHandler2Helper const & rParent, EffectStyleList& rEffectStyleList ) :
ContextHandler2( rParent ),
mrEffectStyleList( rEffectStyleList )
@@ -129,6 +141,8 @@ ContextHandlerRef EffectStyleListContext::onCreateContext( sal_Int32 nElement, c
return nullptr;
}
+namespace {
+
class FontSchemeContext : public ContextHandler2
{
public:
@@ -141,6 +155,8 @@ private:
TextCharacterPropertiesPtr mxCharProps;
};
+}
+
FontSchemeContext::FontSchemeContext( ContextHandler2Helper const & rParent, FontScheme& rFontScheme ) :
ContextHandler2( rParent ),
mrFontScheme( rFontScheme )