svgtitledescnode.cxx (f580d42c) | svgtitledescnode.cxx (4374d266) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 { 33 SvgTitleDescNode::SvgTitleDescNode( 34 SVGToken aType, 35 SvgDocument& rDocument, 36 SvgNode* pParent) 37 : SvgNode(aType, rDocument, pParent), 38 maText() 39 { | 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 --- 23 unchanged lines hidden (view full) --- 32 { 33 SvgTitleDescNode::SvgTitleDescNode( 34 SVGToken aType, 35 SvgDocument& rDocument, 36 SvgNode* pParent) 37 : SvgNode(aType, rDocument, pParent), 38 maText() 39 { |
40 OSL_ENSURE(aType == SVGTokenTitle || aType == SVGTokenDesc, "SvgTitleDescNode should ony be used for Title and Desc (!)"); |
|
40 } 41 42 SvgTitleDescNode::~SvgTitleDescNode() 43 { 44 } 45 46 void SvgTitleDescNode::concatenate(const rtl::OUString& rChars) 47 { 48 maText += rChars; 49 } 50 } // end of namespace svgreader 51} // end of namespace svgio 52 53////////////////////////////////////////////////////////////////////////////// 54// eof | 41 } 42 43 SvgTitleDescNode::~SvgTitleDescNode() 44 { 45 } 46 47 void SvgTitleDescNode::concatenate(const rtl::OUString& rChars) 48 { 49 maText += rChars; 50 } 51 } // end of namespace svgreader 52} // end of namespace svgio 53 54////////////////////////////////////////////////////////////////////////////// 55// eof |