virdev.cxx (9f62ea84) virdev.cxx (5f27b83c)
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

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

269 aPosAry.mnSrcY = 0;
270 aPosAry.mnSrcWidth = nWidth;
271 aPosAry.mnSrcHeight = nHeight;
272 aPosAry.mnDestX = 0;
273 aPosAry.mnDestY = 0;
274 aPosAry.mnDestWidth = nWidth;
275 aPosAry.mnDestHeight = nHeight;
276
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

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

269 aPosAry.mnSrcY = 0;
270 aPosAry.mnSrcWidth = nWidth;
271 aPosAry.mnSrcHeight = nHeight;
272 aPosAry.mnDestX = 0;
273 aPosAry.mnDestY = 0;
274 aPosAry.mnDestWidth = nWidth;
275 aPosAry.mnDestHeight = nHeight;
276
277 pGraphics->CopyBits( &aPosAry, mpGraphics, this, this );
277 pGraphics->CopyBits( aPosAry, mpGraphics, this, this );
278 pNewVirDev->ReleaseGraphics( pGraphics );
279 ImplReleaseGraphics();
280 pSVData->mpDefInst->DestroyVirtualDevice( mpVirDev );
281 mpVirDev = pNewVirDev;
282 mnOutWidth = rNewSize.Width();
283 mnOutHeight = rNewSize.Height();
284 bRet = sal_True;
285 }

--- 159 unchanged lines hidden ---
278 pNewVirDev->ReleaseGraphics( pGraphics );
279 ImplReleaseGraphics();
280 pSVData->mpDefInst->DestroyVirtualDevice( mpVirDev );
281 mpVirDev = pNewVirDev;
282 mnOutWidth = rNewSize.Width();
283 mnOutHeight = rNewSize.Height();
284 bRet = sal_True;
285 }

--- 159 unchanged lines hidden ---