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

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

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

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

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

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

--- 93 unchanged lines hidden ---