svgusenode.cxx (e2bf1e9d) svgusenode.cxx (2600a567)
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
49 SvgUseNode::~SvgUseNode()
50 {
51 if(mpaTransform) delete mpaTransform;
52 }
53
54 const SvgStyleAttributes* SvgUseNode::getSvgStyleAttributes() const
55 {
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
49 SvgUseNode::~SvgUseNode()
50 {
51 if(mpaTransform) delete mpaTransform;
52 }
53
54 const SvgStyleAttributes* SvgUseNode::getSvgStyleAttributes() const
55 {
56 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("use"));
57 maSvgStyleAttributes.checkForCssStyle(aClassStr);
58
56 return &maSvgStyleAttributes;
57 }
58
59 void SvgUseNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
60 {
61 // call parent
62 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
63

--- 138 unchanged lines hidden ---
59 return &maSvgStyleAttributes;
60 }
61
62 void SvgUseNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
63 {
64 // call parent
65 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
66

--- 138 unchanged lines hidden ---