svgstyleattributes.cxx (3aaca8a3) svgstyleattributes.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

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

205
206 if(!pNew && rClassStr.getLength())
207 {
208 aId = rClassStr + aId;
209
210 pNew = rDocument.findSvgStyleAttributesById(aId);
211 }
212 }
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

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

205
206 if(!pNew && rClassStr.getLength())
207 {
208 aId = rClassStr + aId;
209
210 pNew = rDocument.findSvgStyleAttributesById(aId);
211 }
212 }
213 else if(mrOwner.getId())
213
214 if(!pNew && mrOwner.getId())
214 {
215 pNew = rDocument.findSvgStyleAttributesById(*mrOwner.getId());
216 }
215 {
216 pNew = rDocument.findSvgStyleAttributesById(*mrOwner.getId());
217 }
217 else if(rClassStr.getLength())
218
219 if(!pNew && rClassStr.getLength())
218 {
219 pNew = rDocument.findSvgStyleAttributesById(rClassStr);
220 }
221
222 if(pNew)
223 {
224 // found css style, set as parent
225 const_cast< SvgStyleAttributes* >(this)->mpCssStyleParent = pNew;

--- 2216 unchanged lines hidden ---
220 {
221 pNew = rDocument.findSvgStyleAttributesById(rClassStr);
222 }
223
224 if(pNew)
225 {
226 // found css style, set as parent
227 const_cast< SvgStyleAttributes* >(this)->mpCssStyleParent = pNew;

--- 2216 unchanged lines hidden ---