summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/StyleSheetTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/StyleSheetTable.cxx')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index ded569a09418..4c05506a9151 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -251,6 +251,7 @@ PropertyMapPtr TableStyleSheetEntry::GetLocalPropertiesFromMask( sal_Int32 nMask
return pProps;
}
+namespace {
struct ListCharStylePropertyMap_t
{
@@ -262,6 +263,9 @@ struct ListCharStylePropertyMap_t
aPropertyValues( rPropertyValues )
{}
};
+
+}
+
typedef std::vector< ListCharStylePropertyMap_t > ListCharStylePropertyVector_t;
@@ -840,6 +844,8 @@ void StyleSheetTable::lcl_entry(writerfilter::Reference<Properties>::Pointer_t r
/*-------------------------------------------------------------------------
sorting helper
-----------------------------------------------------------------------*/
+namespace {
+
class PropValVector
{
std::vector<beans::PropertyValue> m_aValues;
@@ -852,6 +858,8 @@ public:
const std::vector<beans::PropertyValue>& getProperties() const { return m_aValues; };
};
+}
+
void PropValVector::Insert(const beans::PropertyValue& rVal)
{
auto aIt = std::find_if(m_aValues.begin(), m_aValues.end(),