fecopy.cxx (bb18ee55) | fecopy.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 --- 1526 unchanged lines hidden (view full) --- 1535 SdrView *pView = Imp()->GetDrawView(); 1536 1537 sal_Bool bRet = 1 == pView->GetMarkedObjectList().GetMarkCount() && 1538 (pObj = pView->GetMarkedObjectList().GetMark( 0 )->GetMarkedSdrObj())->IsClosedObj() && 1539 !pObj->ISA( SdrOle2Obj ); 1540 1541 if( bRet ) 1542 { | 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 --- 1526 unchanged lines hidden (view full) --- 1535 SdrView *pView = Imp()->GetDrawView(); 1536 1537 sal_Bool bRet = 1 == pView->GetMarkedObjectList().GetMarkCount() && 1538 (pObj = pView->GetMarkedObjectList().GetMark( 0 )->GetMarkedSdrObj())->IsClosedObj() && 1539 !pObj->ISA( SdrOle2Obj ); 1540 1541 if( bRet ) 1542 { |
1543 XOBitmap aXOBitmap( rGrf.GetBitmap() ); 1544 SfxItemSet aSet( GetAttrPool(), XATTR_FILLSTYLE, XATTR_FILLBITMAP ); 1545 aSet.Put( XFillStyleItem( XFILL_BITMAP )); 1546 aSet.Put( XFillBitmapItem( aEmptyStr, aXOBitmap )); 1547 pView->SetAttributes( aSet, sal_False ); | 1543 SfxItemSet aSet(GetAttrPool(), XATTR_FILLSTYLE, XATTR_FILLBITMAP); 1544 1545 aSet.Put(XFillStyleItem(XFILL_BITMAP)); 1546 aSet.Put(XFillBitmapItem(aEmptyStr, rGrf)); 1547 pView->SetAttributes(aSet, false); |
1548 } 1549 return bRet; 1550} | 1548 } 1549 return bRet; 1550} |