svgtrefnode.cxx (ddde725d) | svgtrefnode.cxx (e2bf1e9d) |
---|---|
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 --- 61 unchanged lines hidden (view full) --- 70 const sal_Int32 nLen(aContent.getLength()); 71 72 if(nLen && sal_Unicode('#') == aContent[0]) 73 { 74 maXLink = aContent.copy(1); 75 } 76 break; 77 } | 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 --- 61 unchanged lines hidden (view full) --- 70 const sal_Int32 nLen(aContent.getLength()); 71 72 if(nLen && sal_Unicode('#') == aContent[0]) 73 { 74 maXLink = aContent.copy(1); 75 } 76 break; 77 } |
78 default: 79 { 80 break; 81 } |
|
78 } 79 } 80 81 const SvgTextNode* SvgTrefNode::getReferencedSvgTextNode() const 82 { 83 return dynamic_cast< const SvgTextNode* >(getDocument().findSvgNodeById(maXLink)); 84 } 85 86 } // end of namespace svgreader 87} // end of namespace svgio 88 89////////////////////////////////////////////////////////////////////////////// 90// eof | 82 } 83 } 84 85 const SvgTextNode* SvgTrefNode::getReferencedSvgTextNode() const 86 { 87 return dynamic_cast< const SvgTextNode* >(getDocument().findSvgNodeById(maXLink)); 88 } 89 90 } // end of namespace svgreader 91} // end of namespace svgio 92 93////////////////////////////////////////////////////////////////////////////// 94// eof |