ipcd.cxx (9e0fc027) | ipcd.cxx (0af288bd) |
---|---|
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 --- 141 unchanged lines hidden (view full) --- 150 nBMPHeight = nHeight; 151 } 152 else 153 { 154 nBMPWidth = nHeight; 155 nBMPHeight = nWidth; 156 } 157 aBmp = Bitmap( Size( nBMPWidth, nBMPHeight ), 24 ); | 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 --- 141 unchanged lines hidden (view full) --- 150 nBMPHeight = nHeight; 151 } 152 else 153 { 154 nBMPWidth = nHeight; 155 nBMPHeight = nWidth; 156 } 157 aBmp = Bitmap( Size( nBMPWidth, nBMPHeight ), 24 ); |
158 if ( ( mpAcc = aBmp.AcquireWriteAccess() ) == sal_False ) | 158 mpAcc = aBmp.AcquireWriteAccess(); 159 if ( !mpAcc ) |
159 return sal_False; 160 161 ReadImage( 5 ,65 ); 162 163 aBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; 164 rGraphic = aBmp; 165 } 166 return bStatus; --- 224 unchanged lines hidden --- | 160 return sal_False; 161 162 ReadImage( 5 ,65 ); 163 164 aBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; 165 rGraphic = aBmp; 166 } 167 return bStatus; --- 224 unchanged lines hidden --- |