summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextListAutoStylePool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLTextListAutoStylePool.cxx')
-rw-r--r--xmloff/source/text/XMLTextListAutoStylePool.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index aa23ec13bf29..dd788e215d8c 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -115,6 +115,8 @@ XMLTextListAutoStylePoolEntry_Impl::XMLTextListAutoStylePoolEntry_Impl(
while (rNames.find(sName) != rNames.end());
}
+namespace {
+
struct XMLTextListAutoStylePoolEntryCmp_Impl
{
bool operator()(
@@ -137,6 +139,9 @@ struct XMLTextListAutoStylePoolEntryCmp_Impl
}
}
};
+
+}
+
class XMLTextListAutoStylePool_Impl : public o3tl::sorted_vector<std::unique_ptr<XMLTextListAutoStylePoolEntry_Impl>, XMLTextListAutoStylePoolEntryCmp_Impl> {};
XMLTextListAutoStylePool::XMLTextListAutoStylePool( SvXMLExport& rExp ) :