xattr.cxx (f6e50924) xattr.cxx (70d3707a)
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

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

286 XPropertyEntry* pEntry = pDefaults->Get( nIndex, 0 );
287 if( pEntry )
288 {
289 bool bFound = false;
290
291 switch( nWhich )
292 {
293 case XATTR_FILLBITMAP:
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

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

286 XPropertyEntry* pEntry = pDefaults->Get( nIndex, 0 );
287 if( pEntry )
288 {
289 bool bFound = false;
290
291 switch( nWhich )
292 {
293 case XATTR_FILLBITMAP:
294 bFound = (((XFillBitmapItem*)pCheckItem)->GetBitmapValue().GetGraphicObject().GetUniqueID() ==
295 ((XBitmapEntry*)pEntry)->GetXBitmap().GetGraphicObject().GetUniqueID());
294 {
295 const GraphicObject& rGraphicObjectA(((XFillBitmapItem*)pCheckItem)->GetGraphicObject());
296 const GraphicObject& rGraphicObjectB(((XBitmapEntry*)pEntry)->GetGraphicObject());
297
298 bFound = (rGraphicObjectA == rGraphicObjectB);
296 break;
299 break;
300 }
297 case XATTR_LINEDASH:
298 bFound = (((XLineDashItem*)pCheckItem)->GetDashValue() == ((XDashEntry*)pEntry) ->GetDash());
299 break;
300 case XATTR_LINESTART:
301 bFound = (((XLineStartItem*)pCheckItem)->GetLineStartValue() == ((XLineEndEntry*)pEntry)->GetLineEnd());
302 break;
303 case XATTR_LINEEND:
304 bFound = (((XLineEndItem*)pCheckItem)->GetLineEndValue() == ((XLineEndEntry*)pEntry)->GetLineEnd());

--- 5470 unchanged lines hidden ---
301 case XATTR_LINEDASH:
302 bFound = (((XLineDashItem*)pCheckItem)->GetDashValue() == ((XDashEntry*)pEntry) ->GetDash());
303 break;
304 case XATTR_LINESTART:
305 bFound = (((XLineStartItem*)pCheckItem)->GetLineStartValue() == ((XLineEndEntry*)pEntry)->GetLineEnd());
306 break;
307 case XATTR_LINEEND:
308 bFound = (((XLineEndItem*)pCheckItem)->GetLineEndValue() == ((XLineEndEntry*)pEntry)->GetLineEnd());

--- 5470 unchanged lines hidden ---