| fupage.cxx (79aad27f) | fupage.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 --- 298 unchanged lines hidden (view full) --- 307 if( nError == GRFILTER_OK ) 308 { 309 pTempSet.reset( new SfxItemSet( mpDoc->GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST, 0) ); 310 311 pTempSet->Put( XFillStyleItem( XFILL_BITMAP ) ); 312 313 // MigrateItemSet makes sure the XFillBitmapItem will have a unique name 314 SfxItemSet aMigrateSet( mpDoc->GetPool(), XATTR_FILLBITMAP, 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 --- 298 unchanged lines hidden (view full) --- 307 if( nError == GRFILTER_OK ) 308 { 309 pTempSet.reset( new SfxItemSet( mpDoc->GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST, 0) ); 310 311 pTempSet->Put( XFillStyleItem( XFILL_BITMAP ) ); 312 313 // MigrateItemSet makes sure the XFillBitmapItem will have a unique name 314 SfxItemSet aMigrateSet( mpDoc->GetPool(), XATTR_FILLBITMAP, XATTR_FILLBITMAP ); |
| 315 aMigrateSet.Put( XFillBitmapItem( String(RTL_CONSTASCII_USTRINGPARAM("background")), XOBitmap(aGraphic) ) ); | 315 aMigrateSet.Put(XFillBitmapItem(String(RTL_CONSTASCII_USTRINGPARAM("background")), aGraphic)); |
| 316 mpDoc->MigrateItemSet( &aMigrateSet, pTempSet.get(), NULL ); 317 318 pTempSet->Put( XFillBmpStretchItem( sal_True )); 319 pTempSet->Put( XFillBmpTileItem( sal_False )); 320 } 321 } 322 } 323 else --- 319 unchanged lines hidden --- | 316 mpDoc->MigrateItemSet( &aMigrateSet, pTempSet.get(), NULL ); 317 318 pTempSet->Put( XFillBmpStretchItem( sal_True )); 319 pTempSet->Put( XFillBmpTileItem( sal_False )); 320 } 321 } 322 } 323 else --- 319 unchanged lines hidden --- |