svgmarkernode.cxx (79aad27f) svgmarkernode.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

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

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

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

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

--- 147 unchanged lines hidden ---
61 }
62
63 void SvgMarkerNode::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

--- 147 unchanged lines hidden ---