xsvgparser.cxx (ddde725d) xsvgparser.cxx (a275c134)
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

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

146 }
147
148 // decompose to primitives
149 const SvgNodeVector& rResults = pSvgDocHdl->getSvgDocument().getSvgNodeVector();
150 const sal_uInt32 nCount(rResults.size());
151
152 for(sal_uInt32 a(0); a < nCount; a++)
153 {
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

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

146 }
147
148 // decompose to primitives
149 const SvgNodeVector& rResults = pSvgDocHdl->getSvgDocument().getSvgNodeVector();
150 const sal_uInt32 nCount(rResults.size());
151
152 for(sal_uInt32 a(0); a < nCount; a++)
153 {
154 rResults[a]->decomposeSvgNode(aRetval, false);
154 SvgNode* pCandidate = rResults[a];
155
156 if(Display_none != pCandidate->getDisplay())
157 {
158 pCandidate->decomposeSvgNode(aRetval, false);
159 }
155 }
156 }
157 else
158 {
159 OSL_ENSURE(false, "Invalid stream (!)");
160 }
161
162 return aRetval;

--- 32 unchanged lines hidden ---
160 }
161 }
162 else
163 {
164 OSL_ENSURE(false, "Invalid stream (!)");
165 }
166
167 return aRetval;

--- 32 unchanged lines hidden ---