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

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

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

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

48 SvgLineNode::~SvgLineNode()
49 {
50 if(mpaTransform) delete mpaTransform;
51 }
52
53 const SvgStyleAttributes* SvgLineNode::getSvgStyleAttributes() const
54 {
55 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("line"));
56 maSvgStyleAttributes.checkForCssStyle(aClassStr);
57
56
58 return &maSvgStyleAttributes;
57 return checkForCssStyle(aClassStr, maSvgStyleAttributes);
59 }
60
61 void SvgLineNode::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

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

--- 103 unchanged lines hidden ---