image.cxx (0848378b) | image.cxx (796b7e2a) |
---|---|
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 --- 181 unchanged lines hidden (view full) --- 190 nLegacyCodeSize = (sal_uInt16) nCodeSize; 191 pLegacyPCode = pCode; 192 193 PCodeBuffConvertor< sal_uInt16, sal_uInt32 > aLegacyToNew( (sal_uInt8*)pLegacyPCode, nLegacyCodeSize ); 194 aLegacyToNew.convert(); 195 pCode = (char*)aLegacyToNew.GetBuffer(); 196 nCodeSize = aLegacyToNew.GetSize(); 197 // we don't release the legacy buffer | 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 --- 181 unchanged lines hidden (view full) --- 190 nLegacyCodeSize = (sal_uInt16) nCodeSize; 191 pLegacyPCode = pCode; 192 193 PCodeBuffConvertor< sal_uInt16, sal_uInt32 > aLegacyToNew( (sal_uInt8*)pLegacyPCode, nLegacyCodeSize ); 194 aLegacyToNew.convert(); 195 pCode = (char*)aLegacyToNew.GetBuffer(); 196 nCodeSize = aLegacyToNew.GetSize(); 197 // we don't release the legacy buffer |
198 // right now, thats because the module | 198 // right now, that's because the module |
199 // needs it to fix up the method 200 // nStart members. When that is done 201 // the module can release the buffer 202 // or it can wait until this routine 203 // is called again or when this class // destructs all of which will trigger 204 // release of the buffer. 205 } 206 break; --- 334 unchanged lines hidden --- | 199 // needs it to fix up the method 200 // nStart members. When that is done 201 // the module can release the buffer 202 // or it can wait until this routine 203 // is called again or when this class // destructs all of which will trigger 204 // release of the buffer. 205 } 206 break; --- 334 unchanged lines hidden --- |