svgusenode.cxx (2600a567) svgusenode.cxx (50b37974)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 40 unchanged lines hidden (view full) ---

49 SvgUseNode::~SvgUseNode()
50 {
51 if(mpaTransform) delete mpaTransform;
52 }
53
54 const SvgStyleAttributes* SvgUseNode::getSvgStyleAttributes() const
55 {
56 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("use"));
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 40 unchanged lines hidden (view full) ---

49 SvgUseNode::~SvgUseNode()
50 {
51 if(mpaTransform) delete mpaTransform;
52 }
53
54 const SvgStyleAttributes* SvgUseNode::getSvgStyleAttributes() const
55 {
56 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("use"));
57 maSvgStyleAttributes.checkForCssStyle(aClassStr);
58
57
59 return &maSvgStyleAttributes;
58 return checkForCssStyle(aClassStr, maSvgStyleAttributes);
60 }
61
62 void SvgUseNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
63 {
64 // call parent
65 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
66
67 // read style attributes

--- 137 unchanged lines hidden ---
59 }
60
61 void SvgUseNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
62 {
63 // call parent
64 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
65
66 // read style attributes

--- 137 unchanged lines hidden ---