svgrectnode.cxx (e2bf1e9d) svgrectnode.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

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

50 SvgRectNode::~SvgRectNode()
51 {
52 if(mpaTransform) delete mpaTransform;
53 }
54
55 const SvgStyleAttributes* SvgRectNode::getSvgStyleAttributes() const
56 {
57 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("rect"));
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

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

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

--- 162 unchanged lines hidden ---
60 }
61
62 void SvgRectNode::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

--- 162 unchanged lines hidden ---