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

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

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

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

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

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

--- 54 unchanged lines hidden ---