summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgdocument.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-07-29 14:36:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-08-07 18:50:44 +0100
commit2c7d4665a08591aea2cf30d09485ae166d997138 (patch)
tree527935a8c77b91fdb9d59c3931a9b99840d9e72a /svgio/source/svgreader/svgdocument.cxx
parent04b02f2f5a4f71198e0cb616404c4721c918afe6 (diff)
Related: #i125293# More unified (still simple) CssStyles and solvers
(cherry picked from commit b760428400bbc7ab3db4d5de6239589e79981a06) Conflicts: svgio/inc/svgio/svgreader/svgdocument.hxx svgio/inc/svgio/svgreader/svgnode.hxx svgio/inc/svgio/svgreader/svgstylenode.hxx svgio/source/svgreader/svgdocument.cxx svgio/source/svgreader/svgnode.cxx svgio/source/svgreader/svgstylenode.cxx Change-Id: Ifcfc665df18f56e2cbc359411b633271c3b8d4bb
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));