summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgdocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgdocument.cxx')
-rw-r--r--svgio/source/svgreader/svgdocument.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgdocument.cxx b/svgio/source/svgreader/svgdocument.cxx
index ff95628cda79..6f4e0a56746d 100644
--- a/svgio/source/svgreader/svgdocument.cxx
+++ b/svgio/source/svgreader/svgdocument.cxx
@@ -85,7 +85,15 @@ namespace svgio
}
}
- const SvgStyleAttributes* SvgDocument::findSvgStyleAttributesById(const OUString& rStr) const
+ void SvgDocument::removeSvgStyleAttributesFromMapper(const OUString& rStr)
+ {
+ if(!rStr.isEmpty())
+ {
+ maIdStyleTokenMapperList.erase(rStr);
+ }
+ }
+
+ const SvgStyleAttributes* SvgDocument::findGlobalCssStyleAttributes(const OUString& rStr) const
{
const IdStyleTokenMapper::const_iterator aResult(maIdStyleTokenMapperList.find(rStr));