Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
This commit is contained in:
committed by
Norbert Thiebaud
parent
053b68a0c7
commit
36a2db3722
@@ -17,6 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <accessibility/standard/vclxaccessibletoolbox.hxx>
|
||||
#include <accessibility/standard/vclxaccessibletoolboxitem.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
@@ -164,7 +166,7 @@ namespace
|
||||
sal_Int64 SAL_CALL OToolBoxWindowItem::getSomething( const Sequence< sal_Int8 >& _rId ) throw (RuntimeException)
|
||||
{
|
||||
if ( ( 16 == _rId.getLength() )
|
||||
&& ( 0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rId.getConstArray(), 16 ) )
|
||||
&& ( 0 == memcmp( getUnoTunnelImplementationId().getConstArray(), _rId.getConstArray(), 16 ) )
|
||||
)
|
||||
return reinterpret_cast< sal_Int64>( this );
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include <osl/mutex.hxx>
|
||||
#include <list>
|
||||
#include <algorithm>
|
||||
#include <string.h>
|
||||
|
||||
using ::osl::Mutex;
|
||||
using ::osl::Guard;
|
||||
@@ -2018,7 +2019,7 @@ void SAL_CALL AnimationNode::removeChangesListener( const Reference< XChangesLis
|
||||
// XUnoTunnel
|
||||
::sal_Int64 SAL_CALL AnimationNode::getSomething( const Sequence< ::sal_Int8 >& rId ) throw (RuntimeException)
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(this));
|
||||
|
||||
|
||||
@@ -677,7 +677,7 @@ void implCopyStreamToByteSequence( Reference< XInputStream > xStream,
|
||||
|
||||
sal_Int32 nPos = bytes.getLength();
|
||||
bytes.realloc( nPos + nRead );
|
||||
::rtl_copyMemory( bytes.getArray() + nPos, readBytes.getConstArray(), (sal_uInt32)nRead );
|
||||
memcpy( bytes.getArray() + nPos, readBytes.getConstArray(), (sal_uInt32)nRead );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -810,8 +810,8 @@ void DlgEditor::Copy()
|
||||
pCombinedData[i] = sal_Int8( n & 0xff );
|
||||
n >>= 8;
|
||||
}
|
||||
::rtl_copyMemory( pCombinedData + 4, DialogModelBytes.getConstArray(), nDialogDataLen );
|
||||
::rtl_copyMemory( pCombinedData + nResOffset, aResData.getConstArray(), nResDataLen );
|
||||
memcpy( pCombinedData + 4, DialogModelBytes.getConstArray(), nDialogDataLen );
|
||||
memcpy( pCombinedData + nResOffset, aResData.getConstArray(), nResDataLen );
|
||||
|
||||
Any aCombinedDataAny;
|
||||
aCombinedDataAny <<= aCombinedData;
|
||||
@@ -905,10 +905,10 @@ void DlgEditor::Paste()
|
||||
sal_Int32 nDialogDataLen = nTotalLen - nResDataLen - 4;
|
||||
|
||||
DialogModelBytes.realloc( nDialogDataLen );
|
||||
::rtl_copyMemory( DialogModelBytes.getArray(), pCombinedData + 4, nDialogDataLen );
|
||||
memcpy( DialogModelBytes.getArray(), pCombinedData + 4, nDialogDataLen );
|
||||
|
||||
aResData.realloc( nResDataLen );
|
||||
::rtl_copyMemory( aResData.getArray(), pCombinedData + nResOffset, nResDataLen );
|
||||
memcpy( aResData.getArray(), pCombinedData + nResOffset, nResDataLen );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "basebmp/bitmapdevice.hxx"
|
||||
|
||||
#include "basebmp/compositeiterator.hxx"
|
||||
@@ -47,7 +49,6 @@
|
||||
#include "intconversion.hxx"
|
||||
|
||||
#include <rtl/alloc.h>
|
||||
#include <rtl/memory.h>
|
||||
#include <osl/diagnose.h>
|
||||
|
||||
#include <basegfx/tools/tools.hxx>
|
||||
@@ -1892,7 +1893,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImpl( const basegfx::B2IVector&
|
||||
&rtl_freeMemory );
|
||||
if (pMem.get() == 0 && nMemSize != 0)
|
||||
return BitmapDeviceSharedPtr();
|
||||
rtl_zeroMemory(pMem.get(),nMemSize);
|
||||
memset(pMem.get(), 0, nMemSize);
|
||||
}
|
||||
|
||||
sal_uInt8* pFirstScanline = nScanlineStride < 0 ?
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <algorithm>
|
||||
#include <sal/types.h>
|
||||
#include <basegfx/pixel/bpixel.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <basegfx/basegfxdllapi.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
@@ -59,7 +58,7 @@ namespace basegfx
|
||||
// reset
|
||||
void reset()
|
||||
{
|
||||
rtl_zeroMemory(mpContent, sizeof(BPixel) * mnCount);
|
||||
memset(mpContent, 0, sizeof(BPixel) * mnCount);
|
||||
}
|
||||
|
||||
// constructor/destructor
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#define _BGFX_RASTER_BZPIXELRASTER_HXX
|
||||
|
||||
#include <basegfx/raster/bpixelraster.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <basegfx/basegfxdllapi.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
@@ -51,7 +50,7 @@ namespace basegfx
|
||||
void resetZ()
|
||||
{
|
||||
reset();
|
||||
rtl_zeroMemory(mpZBuffer, sizeof(sal_uInt16) * mnCount);
|
||||
memset(mpZBuffer, 0, sizeof(sal_uInt16) * mnCount);
|
||||
}
|
||||
|
||||
// constructor/destructor
|
||||
@@ -59,7 +58,7 @@ namespace basegfx
|
||||
: BPixelRaster(nWidth, nHeight),
|
||||
mpZBuffer(new sal_uInt16[mnCount])
|
||||
{
|
||||
rtl_zeroMemory(mpZBuffer, sizeof(sal_uInt16) * mnCount);
|
||||
memset(mpZBuffer, 0, sizeof(sal_uInt16) * mnCount);
|
||||
}
|
||||
|
||||
~BZPixelRaster()
|
||||
|
||||
@@ -2009,7 +2009,7 @@ uno::Sequence< sal_Int8 > implGetDialogData( SbxObject* pDialog )
|
||||
uno::Sequence< sal_Int8 > aData( nLen );
|
||||
sal_Int8* pDestData = aData.getArray();
|
||||
const sal_Int8* pSrcData = (const sal_Int8*)aMemStream.GetData();
|
||||
rtl_copyMemory( pDestData, pSrcData, nLen );
|
||||
memcpy( pDestData, pSrcData, nLen );
|
||||
return aData;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <vcl/dialog.hxx>
|
||||
#include <vcl/edit.hxx>
|
||||
#include <vcl/button.hxx>
|
||||
@@ -435,14 +436,14 @@ sal_uIntPtr UCBStream::GetData( void* pData, sal_uIntPtr nSize )
|
||||
{
|
||||
Sequence<sal_Int8> aData;
|
||||
nSize = xIS->readBytes( aData, nSize );
|
||||
rtl_copyMemory( pData, aData.getConstArray(), nSize );
|
||||
memcpy( pData, aData.getConstArray(), nSize );
|
||||
return nSize;
|
||||
}
|
||||
else if( xS.is() && (xISFromS = xS->getInputStream()).is() )
|
||||
{
|
||||
Sequence<sal_Int8> aData;
|
||||
nSize = xISFromS->readBytes( aData, nSize );
|
||||
rtl_copyMemory( pData, aData.getConstArray(), nSize );
|
||||
memcpy(pData, aData.getConstArray(), nSize );
|
||||
return nSize;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -639,7 +639,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib,
|
||||
sal_Int32 nSize = (sal_Int32)aMemStream.Tell();
|
||||
Sequence< sal_Int8 > aBinSeq( nSize );
|
||||
sal_Int8* pData = aBinSeq.getArray();
|
||||
::rtl_copyMemory( pData, aMemStream.GetData(), nSize );
|
||||
memcpy( pData, aMemStream.GetData(), nSize );
|
||||
|
||||
Reference< XOutputStream > xOut = xCodeStream->getOutputStream();
|
||||
if ( !xOut.is() )
|
||||
@@ -775,7 +775,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib,
|
||||
sal_Int32 nSize = (sal_Int32)aMemStream.Tell();
|
||||
Sequence< sal_Int8 > aBinSeq( nSize );
|
||||
sal_Int8* pData = aBinSeq.getArray();
|
||||
::rtl_copyMemory( pData, aMemStream.GetData(), nSize );
|
||||
memcpy( pData, aMemStream.GetData(), nSize );
|
||||
|
||||
Reference< XOutputStream > xOut = xCodeStream->getOutputStream();
|
||||
if ( xOut.is() )
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
|
||||
#include <exception>
|
||||
#include <vector>
|
||||
#include <string.h>
|
||||
|
||||
#include "com/sun/star/connection/XConnection.hpp"
|
||||
#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
|
||||
#include "com/sun/star/uno/XCurrentContext.hpp"
|
||||
#include "cppuhelper/exc_hlp.hxx"
|
||||
#include "osl/mutex.hxx"
|
||||
#include "rtl/memory.h"
|
||||
#include "uno/dispatcher.hxx"
|
||||
|
||||
#include "binaryany.hxx"
|
||||
@@ -421,10 +421,10 @@ void Writer::sendMessage(std::vector< unsigned char > const & buffer) {
|
||||
css::uno::Sequence< sal_Int8 > s(
|
||||
static_cast< sal_Int32 >(header.size() + k));
|
||||
OSL_ASSERT(!header.empty());
|
||||
rtl_copyMemory(
|
||||
memcpy(
|
||||
s.getArray(), &header[0], static_cast< sal_Size >(header.size()));
|
||||
for (;;) {
|
||||
rtl_copyMemory(s.getArray() + s.getLength() - k, p, k);
|
||||
memcpy(s.getArray() + s.getLength() - k, p, k);
|
||||
try {
|
||||
bridge_->getConnection()->write(s);
|
||||
} catch (const css::io::IOException & e) {
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
************************************************************************/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "jvmaccess/virtualmachine.hxx"
|
||||
#include "rtl/byteseq.h"
|
||||
#include "rtl/byteseq.hxx"
|
||||
#include "rtl/memory.h"
|
||||
#include "rtl/ref.hxx"
|
||||
#include "sal/types.h"
|
||||
#include "uno/threadpool.h"
|
||||
@@ -111,7 +111,7 @@ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId(
|
||||
if (p == 0) {
|
||||
return 0;
|
||||
}
|
||||
rtl_copyMemory(p, seq.getConstArray(), n);
|
||||
memcpy(p, seq.getConstArray(), n);
|
||||
// sal_Int8 and jbyte ought to be compatible
|
||||
env->ReleasePrimitiveArrayCritical(a, p, 0);
|
||||
return a;
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
// vertex buffer (must be divisable
|
||||
// by 3, as each triangle primitive
|
||||
// has 3 vertices)
|
||||
#include <string.h>
|
||||
|
||||
#include <vcl/syschild.hxx>
|
||||
#include <vcl/window.hxx>
|
||||
@@ -439,7 +440,7 @@ namespace dxcanvas
|
||||
|
||||
for(sal_uInt32 i=0; i<nNumLines; ++i)
|
||||
{
|
||||
rtl_copyMemory(pDst,pImage,nNumBytesToCopy);
|
||||
memcpy(pDst,pImage,nNumBytesToCopy);
|
||||
|
||||
if( bClearRightColumn )
|
||||
{
|
||||
@@ -458,7 +459,7 @@ namespace dxcanvas
|
||||
}
|
||||
|
||||
if( bClearBottomRow )
|
||||
rtl_zeroMemory(pDst,nNumBytesToCopy+4);
|
||||
memset(pDst, 0, nNumBytesToCopy+4);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -498,7 +499,7 @@ namespace dxcanvas
|
||||
}
|
||||
|
||||
if( bClearBottomRow )
|
||||
rtl_zeroMemory(pDst,4*(nNumColumns+1));
|
||||
memset(pDst, 0, 4*(nNumColumns+1));
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -531,7 +532,7 @@ namespace dxcanvas
|
||||
}
|
||||
|
||||
if( bClearBottomRow )
|
||||
rtl_zeroMemory(pDst,4*(nNumColumns+1));
|
||||
memset(pDst, 0, 4*(nNumColumns+1));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "dx_surfacebitmap.hxx"
|
||||
#include "dx_impltools.hxx"
|
||||
@@ -83,7 +84,7 @@ namespace dxcanvas
|
||||
sal_uInt8* DXColorBuffer::lock() const
|
||||
{
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
rtl_zeroMemory((void *)&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset((void *)&aSurfaceDesc, 0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_READONLY;
|
||||
if(SUCCEEDED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL)))
|
||||
@@ -344,7 +345,7 @@ namespace dxcanvas
|
||||
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset(&aSurfaceDesc, 0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_READONLY;
|
||||
|
||||
@@ -468,7 +469,7 @@ namespace dxcanvas
|
||||
{
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC) );
|
||||
memset( &aSurfaceDesc, 0, sizeof(DDSURFACEDESC) );
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
|
||||
if( FAILED(mpSurface->Lock( NULL,
|
||||
@@ -541,7 +542,7 @@ namespace dxcanvas
|
||||
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset(&aSurfaceDesc,0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_READONLY;
|
||||
|
||||
@@ -554,7 +555,7 @@ namespace dxcanvas
|
||||
sal_uInt32 nSegmentSizeInBytes = nWidth<<4;
|
||||
for(sal_uInt32 y=0; y<nHeight; ++y)
|
||||
{
|
||||
rtl_copyMemory(pDst,pSrc,nSegmentSizeInBytes);
|
||||
memcpy(pDst,pSrc,nSegmentSizeInBytes);
|
||||
pDst += nSegmentSizeInBytes;
|
||||
pSrc += aSurfaceDesc.lPitch;
|
||||
}
|
||||
@@ -570,7 +571,7 @@ namespace dxcanvas
|
||||
sal_uInt32 nSegmentSizeInBytes = nWidth<<4;
|
||||
for(sal_uInt32 y=0; y<nHeight; ++y)
|
||||
{
|
||||
rtl_copyMemory(pDst,pSrc,nSegmentSizeInBytes);
|
||||
memcpy(pDst,pSrc,nSegmentSizeInBytes);
|
||||
pDst += nSegmentSizeInBytes;
|
||||
pSrc += aLockedRect.Pitch;
|
||||
}
|
||||
@@ -623,7 +624,7 @@ namespace dxcanvas
|
||||
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset(&aSurfaceDesc, 0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_WRITEONLY;
|
||||
|
||||
@@ -636,7 +637,7 @@ namespace dxcanvas
|
||||
sal_uInt32 nSegmentSizeInBytes = nWidth<<4;
|
||||
for(sal_uInt32 y=0; y<nHeight; ++y)
|
||||
{
|
||||
rtl_copyMemory(pDst,pSrc,nSegmentSizeInBytes);
|
||||
memcpy(pDst,pSrc,nSegmentSizeInBytes);
|
||||
pSrc += nSegmentSizeInBytes;
|
||||
pDst += aSurfaceDesc.lPitch;
|
||||
}
|
||||
@@ -653,7 +654,7 @@ namespace dxcanvas
|
||||
sal_uInt32 nSegmentSizeInBytes = nWidth<<4;
|
||||
for(sal_uInt32 y=0; y<nHeight; ++y)
|
||||
{
|
||||
rtl_copyMemory(pDst,pSrc,nSegmentSizeInBytes);
|
||||
memcpy(pDst,pSrc,nSegmentSizeInBytes);
|
||||
pSrc += nSegmentSizeInBytes;
|
||||
pDst += aLockedRect.Pitch;
|
||||
}
|
||||
@@ -703,7 +704,7 @@ namespace dxcanvas
|
||||
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset(&aSurfaceDesc, 0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_WRITEONLY;
|
||||
|
||||
@@ -761,7 +762,7 @@ namespace dxcanvas
|
||||
|
||||
#if DIRECTX_VERSION < 0x0900
|
||||
DDSURFACEDESC aSurfaceDesc;
|
||||
rtl_zeroMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC));
|
||||
memset(&aSurfaceDesc, 0, sizeof(DDSURFACEDESC));
|
||||
aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
|
||||
const DWORD dwFlags = DDLOCK_NOSYSLOCK|DDLOCK_SURFACEMEMORYPTR|DDLOCK_WAIT|DDLOCK_READONLY;
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
|
||||
#include "null_canvasfont.hxx"
|
||||
#include "null_textlayout.hxx"
|
||||
#include "null_spritecanvas.hxx"
|
||||
|
||||
@@ -140,7 +140,7 @@ bool ChartRenderer::DoPaint(OutputDevice* pOutDev, const Rectangle& rLogicObject
|
||||
::sal_Int64 SAL_CALL ChartRenderer::getSomething( const Sequence< ::sal_Int8 >& aIdentifier )
|
||||
throw( uno::RuntimeException)
|
||||
{
|
||||
if( aIdentifier.getLength() == 16 && 0 == rtl_compareMemory(
|
||||
if( aIdentifier.getLength() == 16 && 0 == memcmp(
|
||||
ChartPrettyPainter::getUnoTunnelId().getConstArray(),
|
||||
aIdentifier.getConstArray(), 16 ) )
|
||||
{
|
||||
|
||||
@@ -1286,7 +1286,7 @@ Reference< util::XNumberFormatsSupplier > ChartModel::impl_getNumberFormatsSuppl
|
||||
::sal_Int64 SAL_CALL ChartModel::getSomething( const Sequence< ::sal_Int8 >& aIdentifier )
|
||||
throw( uno::RuntimeException)
|
||||
{
|
||||
if( aIdentifier.getLength() == 16 && 0 == rtl_compareMemory( SvNumberFormatsSupplierObj::getUnoTunnelId().getConstArray(),
|
||||
if( aIdentifier.getLength() == 16 && 0 == memcmp( SvNumberFormatsSupplierObj::getUnoTunnelId().getConstArray(),
|
||||
aIdentifier.getConstArray(), 16 ) )
|
||||
{
|
||||
Reference< lang::XUnoTunnel > xTunnel( impl_getNumberFormatsSupplier(), uno::UNO_QUERY );
|
||||
|
||||
@@ -359,7 +359,7 @@ uno::Sequence< datatransfer::DataFlavor > SAL_CALL ChartView::getTransferDataFla
|
||||
::sal_Int64 SAL_CALL ChartView::getSomething( const uno::Sequence< ::sal_Int8 >& aIdentifier )
|
||||
throw( uno::RuntimeException)
|
||||
{
|
||||
if( aIdentifier.getLength() == 16 && 0 == rtl_compareMemory( ExplicitValueProvider::getUnoTunnelId().getConstArray(),
|
||||
if( aIdentifier.getLength() == 16 && 0 == memcmp( ExplicitValueProvider::getUnoTunnelId().getConstArray(),
|
||||
aIdentifier.getConstArray(), 16 ) )
|
||||
{
|
||||
ExplicitValueProvider* pProvider = this;
|
||||
|
||||
@@ -194,7 +194,7 @@ sal_Bool checkFileContent(const OString& targetFileName, const OString& tmpFileN
|
||||
if ( n1 != n2 )
|
||||
bFindChanges = sal_True;
|
||||
else
|
||||
if ( rtl_compareMemory(buffer1, buffer2, n2) != 0 )
|
||||
if ( memcmp(buffer1, buffer2, n2) != 0 )
|
||||
bFindChanges = sal_True;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <osl/interlck.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/instance.hxx>
|
||||
|
||||
#include <typelib/typedescription.h>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#define EQ_HXX
|
||||
|
||||
#include <math.h>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
#include "prim.hxx"
|
||||
#include "destr.hxx"
|
||||
|
||||
@@ -455,7 +455,7 @@ void SAL_CALL ORowSet::release() throw()
|
||||
// com::sun::star::XUnoTunnel
|
||||
sal_Int64 SAL_CALL ORowSet::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
@@ -2909,7 +2909,7 @@ Sequence< sal_Int8 > ORowSetClone::getUnoTunnelImplementationId()
|
||||
// com::sun::star::XUnoTunnel
|
||||
sal_Int64 SAL_CALL ORowSetClone::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -318,7 +318,7 @@ IMPLEMENT_PROPERTYCONTAINER_DEFAULTS(OSingleSelectQueryComposer)
|
||||
sal_Int64 SAL_CALL OSingleSelectQueryComposer::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "OSingleSelectQueryComposer::getSomething" );
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return sal_Int64(0);
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "TableDeco.hxx"
|
||||
#include <definitioncolumn.hxx>
|
||||
@@ -496,7 +497,7 @@ Reference< XNameAccess> ODBTableDecorator::getColumns() throw (RuntimeException)
|
||||
sal_Int64 SAL_CALL ODBTableDecorator::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "ODBTableDecorator::getSomething" );
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
sal_Int64 nRet = 0;
|
||||
|
||||
@@ -115,7 +115,7 @@ Sequence< sal_Int8 > SAL_CALL OQueryComposer::getImplementationId() throw (Runti
|
||||
sal_Int64 SAL_CALL OQueryComposer::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "OQueryComposer::getSomething" );
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "querydescriptor.hxx"
|
||||
#include "apitools.hxx"
|
||||
@@ -154,7 +155,7 @@ sal_Int64 SAL_CALL OQueryDescriptor_Base::getSomething( const Sequence< sal_Int8
|
||||
if (_rIdentifier.getLength() != 16)
|
||||
return 0;
|
||||
|
||||
if (0 == rtl_compareMemory(getImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
|
||||
if (0 == memcmp(getImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "table.hxx"
|
||||
#include <definitioncolumn.hxx>
|
||||
#include "dbastrings.hrc"
|
||||
@@ -343,7 +345,7 @@ sal_Int64 SAL_CALL ODBTable::getSomething( const Sequence< sal_Int8 >& rId ) thr
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "ODBTable::getSomething" );
|
||||
sal_Int64 nRet(0);
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
nRet = reinterpret_cast<sal_Int64>(this);
|
||||
else
|
||||
nRet = OTable_Base::getSomething(rId);
|
||||
|
||||
@@ -590,7 +590,7 @@ void OContentHelper::notifyPropertiesChange( const Sequence< PropertyChangeEvent
|
||||
// com::sun::star::lang::XUnoTunnel
|
||||
sal_Int64 OContentHelper::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException)
|
||||
{
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -720,7 +720,7 @@ void ODatabaseContext::databaseDocumentURLChange( const ::rtl::OUString& _rOldUR
|
||||
|
||||
sal_Int64 SAL_CALL ODatabaseContext::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
#include <connectivity/dbtools.hxx>
|
||||
#include <connectivity/dbconversion.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <comphelper/extract.hxx>
|
||||
#include <comphelper/servicehelper.hxx>
|
||||
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
|
||||
@@ -588,7 +587,7 @@ Sequence< Type > SAL_CALL SbaXGridPeer::getTypes() throw (RuntimeException)
|
||||
//------------------------------------------------------------------
|
||||
sal_Int64 SAL_CALL SbaXGridPeer::getSomething( const Sequence< sal_Int8 > & rId ) throw(::com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast< sal_Int64 >( this );
|
||||
|
||||
return FmXGridPeer::getSomething(rId);
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace dbaui
|
||||
//------------------------------------------------------------------------
|
||||
sal_Int64 SAL_CALL OJoinExchObj::getSomething( const Sequence< sal_Int8 >& _rIdentifier ) throw(RuntimeException)
|
||||
{
|
||||
if (_rIdentifier.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
|
||||
if (_rIdentifier.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -526,7 +526,7 @@ OUString readConsole()
|
||||
}
|
||||
#else
|
||||
char buf[1024];
|
||||
rtl_zeroMemory(buf, 1024);
|
||||
memset(buf, 0, 1024);
|
||||
// read one char less so that the last char in buf is always zero
|
||||
if (fgets(buf, 1024, stdin) != NULL)
|
||||
{
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "rtl/string.hxx"
|
||||
#include "rtl/ustrbuf.hxx"
|
||||
#include "rtl/uri.hxx"
|
||||
#include "rtl/memory.h"
|
||||
#include "osl/file.hxx"
|
||||
#include "cppuhelper/exc_hlp.hxx"
|
||||
#include "ucbhelper/content.hxx"
|
||||
@@ -640,7 +639,7 @@ OUString replaceOrigin(
|
||||
|
||||
if ((write_pos + index) > filtered.getLength())
|
||||
filtered.realloc( (filtered.getLength() + index) * 2 );
|
||||
rtl_copyMemory( filtered.getArray() + write_pos, pBytes, index );
|
||||
memcpy( filtered.getArray() + write_pos, pBytes, index );
|
||||
write_pos += index;
|
||||
pBytes += index;
|
||||
nBytes -= index;
|
||||
@@ -679,7 +678,7 @@ OUString replaceOrigin(
|
||||
}
|
||||
if ((write_pos + nAdd) > filtered.getLength())
|
||||
filtered.realloc( (filtered.getLength() + nAdd) * 2 );
|
||||
rtl_copyMemory( filtered.getArray() + write_pos, pAdd, nAdd );
|
||||
memcpy( filtered.getArray() + write_pos, pAdd, nAdd );
|
||||
write_pos += nAdd;
|
||||
}
|
||||
if (!use_filtered)
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "../../deployment/gui/dp_gui_shared.hxx"
|
||||
#include "unopkg_shared.h"
|
||||
#include "osl/thread.h"
|
||||
#include "rtl/memory.h"
|
||||
#include "tools/string.hxx"
|
||||
#include "tools/resmgr.hxx"
|
||||
#include "cppuhelper/implbase3.hxx"
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "FmtFilter.hxx"
|
||||
#include <osl/diagnose.h>
|
||||
#include <comphelper/sequence.hxx>
|
||||
@@ -199,7 +201,7 @@ Sequence< sal_Int8 > SAL_CALL WinDIBToOOBMP( const Sequence< sal_Int8 >& aWinDIB
|
||||
BITMAPFILEHEADER *pBmpFileHdr = reinterpret_cast< BITMAPFILEHEADER* >( ooBmpStream.getArray() );
|
||||
DWORD nOffset = sizeof( BITMAPFILEHEADER ) + sizeof( BITMAPINFOHEADER );
|
||||
|
||||
rtl_copyMemory( pBmpFileHdr + 1, pBmpInfoHdr, aWinDIB.getLength( ) );
|
||||
memcpy( pBmpFileHdr + 1, pBmpInfoHdr, aWinDIB.getLength( ) );
|
||||
|
||||
if( pBmpInfoHdr->biBitCount <= 8 )
|
||||
nOffset += ( pBmpInfoHdr->biClrUsed ? pBmpInfoHdr->biClrUsed : ( 1 << pBmpInfoHdr->biBitCount ) ) << 2;
|
||||
@@ -226,7 +228,7 @@ Sequence< sal_Int8 > SAL_CALL OOBmpToWinDIB( Sequence< sal_Int8 >& aOOBmp )
|
||||
|
||||
Sequence< sal_Int8 > winDIBStream( aOOBmp.getLength( ) - sizeof( BITMAPFILEHEADER ) );
|
||||
|
||||
rtl_copyMemory( winDIBStream.getArray( ),
|
||||
memcpy( winDIBStream.getArray( ),
|
||||
aOOBmp.getArray( ) + sizeof( BITMAPFILEHEADER ),
|
||||
aOOBmp.getLength( ) - sizeof( BITMAPFILEHEADER ) );
|
||||
|
||||
@@ -328,12 +330,12 @@ Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( Sequence< sal_Int8 >& aTextH
|
||||
rtl_zeroMemory( aHTMLFmtSequence.getArray( ), aHTMLFmtSequence.getLength( ) );
|
||||
|
||||
// copy the HTML Format header
|
||||
rtl_copyMemory(
|
||||
memcpy(
|
||||
static_cast< LPVOID >( aHTMLFmtSequence.getArray( ) ),
|
||||
static_cast< LPVOID >( aHTMLFmtHdr ), lHTMLFmtHdr );
|
||||
|
||||
// concat the text/html
|
||||
rtl_copyMemory(
|
||||
memcpy(
|
||||
static_cast< LPVOID >( aHTMLFmtSequence.getArray( ) + lHTMLFmtHdr ),
|
||||
static_cast< LPVOID >( aTextHtml.getArray( ) ),
|
||||
aTextHtml.getLength( ) );
|
||||
@@ -391,9 +393,9 @@ Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml)
|
||||
htmlFormat += textHtml;
|
||||
|
||||
Sequence<sal_Int8> byteSequence(htmlFormat.length() + 1); // space the trailing '\0'
|
||||
rtl_zeroMemory(byteSequence.getArray(), byteSequence.getLength());
|
||||
memset(byteSequence.getArray(), 0, byteSequence.getLength());
|
||||
|
||||
rtl_copyMemory(
|
||||
memcpy(
|
||||
static_cast<void*>(byteSequence.getArray()),
|
||||
static_cast<const void*>(htmlFormat.c_str()),
|
||||
htmlFormat.length());
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include "ImplHelper.hxx"
|
||||
#include <rtl/tencinfo.h>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <memory>
|
||||
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(push,1)
|
||||
#endif
|
||||
@@ -259,7 +259,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
|
||||
if ( NULL != ptdSrc )
|
||||
{
|
||||
ptdDest = static_cast< DVTARGETDEVICE* >( CoTaskMemAlloc( ptdSrc->tdSize ) );
|
||||
rtl_copyMemory( ptdDest, ptdSrc, static_cast< size_t >( ptdSrc->tdSize ) );
|
||||
memcpy( ptdDest, ptdSrc, static_cast< size_t >( ptdSrc->tdSize ) );
|
||||
}
|
||||
}
|
||||
#ifdef __MINGW32__
|
||||
@@ -450,7 +450,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
|
||||
|
||||
if ( ptdLeft->tdSize == ptdRight->tdSize )
|
||||
|
||||
if ( rtl_compareMemory( ptdLeft, ptdRight, ptdLeft->tdSize ) == 0 )
|
||||
if ( memcmp( ptdLeft, ptdRight, ptdLeft->tdSize ) == 0 )
|
||||
bRet = sal_True;
|
||||
}
|
||||
#ifdef __MINGW32__
|
||||
|
||||
@@ -182,7 +182,7 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
|
||||
|
||||
Sequence< sal_Int8 > textStream( text.getLength( ) + 1 );
|
||||
|
||||
rtl_copyMemory( textStream.getArray( ), text.getStr( ), textStream.getLength( ) );
|
||||
memcpy( textStream.getArray( ), text.getStr( ), textStream.getLength( ) );
|
||||
|
||||
anyData = makeAny( textStream );
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ const ::com::sun::star::uno::Sequence< sal_Int8 > & SvxUnoTextField::getUnoTunne
|
||||
|
||||
sal_Int64 SAL_CALL SvxUnoTextField::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this));
|
||||
|
||||
@@ -2160,7 +2160,7 @@ SvxUnoTextBase* SvxUnoTextBase::getImplementation( const uno::Reference< uno::XI
|
||||
|
||||
sal_Int64 SAL_CALL SvxUnoTextBase::getSomething( const uno::Sequence< sal_Int8 >& rId ) throw(uno::RuntimeException) \
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
||||
@@ -2208,7 +2208,7 @@ const uno::Sequence< sal_Int8 > & SvxUnoText::getUnoTunnelId() throw()
|
||||
|
||||
sal_Int64 SAL_CALL SvxUnoText::getSomething( const uno::Sequence< sal_Int8 >& rId ) throw(uno::RuntimeException) \
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
|
||||
#include <typelib/typedescription.hxx>
|
||||
#include <rtl/uuid.h>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
#include "jscriptclasses.hxx"
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
#include <com/sun/star/xml/xpath/XXPathAPI.hpp>
|
||||
|
||||
#include <rtl/ref.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/bootstrap.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <osl/process.h>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
************************************************************************/
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <rtl/memory.h>
|
||||
#ifndef _RTL_WSTRING_
|
||||
#include <rtl/wstring>
|
||||
#endif
|
||||
@@ -220,7 +219,7 @@ void DataSource_Impl::setBuffer (const Sequence<sal_Int8> &rBuffer)
|
||||
{
|
||||
// Fill buffer from file descriptor.
|
||||
char buffer[1024];
|
||||
rtl_zeroMemory (buffer, sizeof(buffer));
|
||||
memset (buffer, 0, sizeof(buffer));
|
||||
|
||||
int k = read (m_fd, buffer, sizeof(buffer));
|
||||
while (k > 0)
|
||||
@@ -228,10 +227,10 @@ void DataSource_Impl::setBuffer (const Sequence<sal_Int8> &rBuffer)
|
||||
sal_Int32 n = m_buffer.getLength();
|
||||
m_buffer.realloc (n + k);
|
||||
|
||||
rtl_copyMemory (m_buffer.getArray() + n, buffer, k);
|
||||
memcpy (m_buffer.getArray() + n, buffer, k);
|
||||
n += k;
|
||||
|
||||
rtl_zeroMemory (buffer, k);
|
||||
memset (buffer, 0, k);
|
||||
k = read (m_fd, buffer, sizeof(buffer));
|
||||
}
|
||||
}
|
||||
@@ -283,7 +282,7 @@ sal_Int32 SAL_CALL DataSource_Impl::readBytes (
|
||||
if (k > 0)
|
||||
{
|
||||
rData.realloc(k);
|
||||
rtl_copyMemory (
|
||||
memcpy (
|
||||
rData.getArray(), m_buffer.getConstArray() + m_position, k);
|
||||
m_position += k;
|
||||
}
|
||||
@@ -390,7 +389,7 @@ void SAL_CALL DataSink_Impl::writeBytes (const Sequence<sal_Int8> &rBuffer)
|
||||
sal_Int32 n = m_buffer.getLength();
|
||||
m_buffer.realloc (n + rBuffer.getLength());
|
||||
|
||||
rtl_copyMemory (
|
||||
memcpy (
|
||||
m_buffer.getArray() + n,
|
||||
rBuffer.getConstArray(),
|
||||
rBuffer.getLength());
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "Columns.hxx"
|
||||
#include "property.hrc"
|
||||
#include "property.hxx"
|
||||
@@ -49,7 +51,6 @@
|
||||
#include "services.hxx"
|
||||
#include "frm_resource.hrc"
|
||||
#include <tools/debug.hxx>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
//.........................................................................
|
||||
namespace frm
|
||||
@@ -138,7 +139,7 @@ sal_Int64 SAL_CALL OGridColumn::getSomething( const Sequence<sal_Int8>& _rIdenti
|
||||
sal_Int64 nReturn(0);
|
||||
|
||||
if ( (_rIdentifier.getLength() == 16)
|
||||
&& (0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
&& (0 == memcmp( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
)
|
||||
{
|
||||
nReturn = reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
@@ -90,7 +90,7 @@ ImgProdLockBytes::ImgProdLockBytes( ::com::sun::star::uno::Reference< ::com::sun
|
||||
{
|
||||
const sal_uInt32 nOldLength = maSeq.getLength();
|
||||
maSeq.realloc( nOldLength + nRead );
|
||||
rtl_copyMemory( maSeq.getArray() + nOldLength, aReadSeq.getConstArray(), aReadSeq.getLength() );
|
||||
memcpy( maSeq.getArray() + nOldLength, aReadSeq.getConstArray(), aReadSeq.getLength() );
|
||||
}
|
||||
}
|
||||
while( nBytesToRead == nRead );
|
||||
|
||||
@@ -589,7 +589,7 @@ namespace frm
|
||||
{
|
||||
Sequence< sal_Int8 > aEditEngineAccessId( getEditEngineTunnelId() );
|
||||
if ( ( _rId.getLength() == aEditEngineAccessId.getLength() )
|
||||
&& ( 0 == rtl_compareMemory( aEditEngineAccessId.getConstArray(), _rId.getConstArray(), _rId.getLength() ) )
|
||||
&& ( 0 == memcmp( aEditEngineAccessId.getConstArray(), _rId.getConstArray(), _rId.getLength() ) )
|
||||
)
|
||||
return reinterpret_cast< sal_Int64 >( m_pEngine.get() );
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <uielement/constitemcontainer.hxx>
|
||||
#include <uielement/rootitemcontainer.hxx>
|
||||
#include <uielement/itemcontainer.hxx>
|
||||
@@ -266,7 +268,7 @@ Reference< XIndexAccess > ConstItemContainer::deepCopyContainer( const Reference
|
||||
// XUnoTunnel
|
||||
sal_Int64 ConstItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( ConstItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( ConstItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
{
|
||||
return reinterpret_cast< sal_Int64 >( this );
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <comphelper/servicehelper.hxx>
|
||||
#include <uielement/rootitemcontainer.hxx>
|
||||
#include <uielement/itemcontainer.hxx>
|
||||
@@ -167,7 +169,7 @@ Reference< XIndexAccess > RootItemContainer::deepCopyContainer( const Reference<
|
||||
// XUnoTunnel
|
||||
sal_Int64 RootItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( RootItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( RootItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1204,7 +1204,7 @@ JavaInfo * CJavaInfo::copyJavaInfo(const JavaInfo * pInfo)
|
||||
(JavaInfo*) rtl_allocateMemory(sizeof(JavaInfo));
|
||||
if (newInfo)
|
||||
{
|
||||
rtl_copyMemory(newInfo, pInfo, sizeof(JavaInfo));
|
||||
memcpy(newInfo, pInfo, sizeof(JavaInfo));
|
||||
rtl_uString_acquire(pInfo->sVendor);
|
||||
rtl_uString_acquire(pInfo->sLocation);
|
||||
rtl_uString_acquire(pInfo->sVersion);
|
||||
|
||||
@@ -57,7 +57,8 @@
|
||||
* @file
|
||||
* Base64 tool.
|
||||
************************************************************************/
|
||||
#include "xfbase64.hxx"
|
||||
#include <string.h>
|
||||
#include "xfbase64.hxx"
|
||||
|
||||
const sal_Char aBase64EncodeTable[] =
|
||||
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
|
||||
@@ -105,7 +106,7 @@ rtl::OUString XFBase64::Encode(sal_uInt8 *buf, sal_Int32 len)
|
||||
nNeeded = (cycles+1)*4;
|
||||
buffer = new sal_Char[nNeeded+1];
|
||||
|
||||
rtl_zeroMemory(buffer,nNeeded+1);
|
||||
memset(buffer, 0, nNeeded+1);
|
||||
|
||||
for( sal_Int32 i=0; i<cycles; i++ )
|
||||
Encode_(buf+i*3,buffer+i*4);
|
||||
|
||||
@@ -57,14 +57,15 @@
|
||||
* @file
|
||||
* Color object to serial to xml filter.
|
||||
************************************************************************/
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "xfcolor.hxx"
|
||||
#include "xfcolor.hxx"
|
||||
|
||||
rtl::OUString XFColor::ToString() const
|
||||
{
|
||||
char buf[8];
|
||||
|
||||
rtl_zeroMemory(buf,8);
|
||||
memset(buf, 0, 8);
|
||||
sprintf(buf,"#%2x%2x%2x",m_nRed, m_nGreen, m_nBlue);
|
||||
for( int i=1; i<7;i++ )
|
||||
{
|
||||
|
||||
@@ -57,12 +57,13 @@
|
||||
* @file
|
||||
* Date field with date style.
|
||||
************************************************************************/
|
||||
#include <string.h>
|
||||
#include "xfdate.hxx"
|
||||
|
||||
XFDate::XFDate()
|
||||
{
|
||||
m_bFixed = 0;
|
||||
rtl_zeroMemory(&m_aDateTime,sizeof(m_aDateTime));
|
||||
memset(&m_aDateTime, 0, sizeof(m_aDateTime));
|
||||
m_bValued = sal_False;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,8 @@
|
||||
#ifndef _XFLINEHEIGHT_HXX
|
||||
#define _XFLINEHEIGHT_HXX
|
||||
|
||||
#include <string.h>
|
||||
|
||||
class XFLineHeight
|
||||
{
|
||||
public:
|
||||
@@ -117,7 +119,7 @@ inline void XFLineHeight::SetSpace(double value)
|
||||
inline void XFLineHeight::Reset()
|
||||
{
|
||||
m_eType = enumLHNone;
|
||||
rtl_zeroMemory(&m_Value,sizeof(m_Value));
|
||||
memset(&m_Value, 0, sizeof(m_Value));
|
||||
}
|
||||
|
||||
inline enumLHType XFLineHeight::GetType()
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
|
||||
#include "xfdefs.hxx"
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
nBytesToRead = mnEnd - mnCurrent;
|
||||
|
||||
aData.realloc ( nBytesToRead );
|
||||
rtl_copyMemory( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
|
||||
memcpy( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
|
||||
mnCurrent += nBytesToRead;
|
||||
return nBytesToRead;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef _CODEMAKER_REGISTRY_HXX_
|
||||
#define _CODEMAKER_REGISTRY_HXX_
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rtl/alloc.h>
|
||||
#include <osl/interlck.h>
|
||||
#include <registry/registry.hxx>
|
||||
@@ -40,7 +42,7 @@ struct TypeReader_Impl
|
||||
if (copyData)
|
||||
{
|
||||
m_pBlop = (sal_uInt8*)rtl_allocateMemory(bufferLen);
|
||||
rtl_copyMemory((void*)m_pBlop, buffer, bufferLen);
|
||||
memcpy(const_cast<sal_uInt8*>(m_pBlop), buffer, bufferLen);
|
||||
} else
|
||||
{
|
||||
m_blopSize = bufferLen;
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rtl/alloc.h>
|
||||
#include <registry/reflwrit.hxx>
|
||||
#include <cppuhelper/servicefactory.hxx>
|
||||
@@ -287,7 +289,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
case TypeClass_MODULE:
|
||||
@@ -329,7 +331,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
case TypeClass_INTERFACE:
|
||||
@@ -404,7 +406,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
case TypeClass_STRUCT:
|
||||
@@ -444,7 +446,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
case TypeClass_ENUM:
|
||||
@@ -473,7 +475,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
case TypeClass_TYPEDEF:
|
||||
@@ -488,7 +490,7 @@ sal_uInt32 SAL_CALL getTypeBlop(const sal_Char* pTypeName, sal_uInt8** pBlop)
|
||||
0, 0, 0);
|
||||
length = writer.getBlopSize();
|
||||
*pBlop = (sal_uInt8*)rtl_allocateMemory( length );
|
||||
rtl_copyMemory(*pBlop, writer.getBlop(), length);
|
||||
memcpy(*pBlop, writer.getBlop(), length);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
|
||||
#include <osl/thread.h>
|
||||
#include <rtl/alloc.h>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
||||
@@ -2168,7 +2168,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL OReportDefinition::getAvailableMimeTyp
|
||||
sal_Int64 SAL_CALL OReportDefinition::getSomething( const uno::Sequence< sal_Int8 >& rId ) throw(uno::RuntimeException)
|
||||
{
|
||||
sal_Int64 nRet = 0;
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
nRet = reinterpret_cast<sal_Int64>(this);
|
||||
else
|
||||
{
|
||||
|
||||
@@ -670,7 +670,7 @@ sal_Bool SAL_CALL OSection::hasForms() throw (uno::RuntimeException)
|
||||
//------------------------------------------------------------------
|
||||
sal_Int64 OSection::getSomething( const uno::Sequence< sal_Int8 > & rId ) throw (uno::RuntimeException)
|
||||
{
|
||||
if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
return (m_xDrawPage_Tunnel.is()) ? m_xDrawPage_Tunnel->getSomething(rId) : 0;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
|
||||
#include <osl/file.h>
|
||||
#include <rtl/alloc.h>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
using ::rtl::OUString;
|
||||
using ::rtl::OUStringToOString;
|
||||
@@ -97,7 +96,7 @@ char* rsc_strdup( const char* pStr )
|
||||
{
|
||||
int nLen = strlen( pStr );
|
||||
char* pBuffer = (char*)rtl_allocateMemory( nLen+1 );
|
||||
rtl_copyMemory( pBuffer, pStr, nLen+1 );
|
||||
memcpy( pBuffer, pStr, nLen+1 );
|
||||
return pBuffer;
|
||||
}
|
||||
|
||||
@@ -405,7 +404,7 @@ void RscWriteRc :: PutUTF8( char * pStr )
|
||||
n++;
|
||||
|
||||
sal_uInt32 nOldLen = IncSize( n );
|
||||
rtl_copyMemory( GetPointer( nOldLen ), pStr, nStrLen );
|
||||
memcpy( GetPointer( nOldLen ), pStr, nStrLen );
|
||||
// 0 terminated
|
||||
pMem[ nOldLen + nStrLen ] = '\0';
|
||||
}
|
||||
|
||||
@@ -590,7 +590,7 @@ bool checkDocChecksum( const rtl::OUString& rInPDFFileURL,
|
||||
rtl_digest_destroyMD5( aActualDigest );
|
||||
|
||||
// compare the contents
|
||||
bRet = (0 == rtl_compareMemory( nActualChecksum, nTestChecksum, sizeof( nActualChecksum ) ));
|
||||
bRet = (0 == memcmp( nActualChecksum, nTestChecksum, sizeof( nActualChecksum ) ));
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
OSL_TRACE( "test checksum: " );
|
||||
for( unsigned int i = 0; i < sizeof(nTestChecksum); i++ )
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <rtl/alloc.h>
|
||||
#include <rtl/digest.h>
|
||||
#include <rtl/cipher.h>
|
||||
#include <rtl/memory.h>
|
||||
#ifdef SYSTEM_ZLIB
|
||||
#include "zlib.h"
|
||||
#else
|
||||
@@ -728,7 +727,7 @@ bool PDFObject::getDeflatedStream( char** ppStream, unsigned int* pBytes, const
|
||||
// get the compressed length
|
||||
*pBytes = m_pStream->getDictLength( pObjectContainer );
|
||||
if( pStream != *ppStream )
|
||||
rtl_moveMemory( *ppStream, pStream, *pBytes );
|
||||
memmove( *ppStream, pStream, *pBytes );
|
||||
if( rContext.m_bDecrypt )
|
||||
{
|
||||
EmitImplData* pEData = getEmitData( rContext );
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/alloc.h>
|
||||
|
||||
// disable warnings again because someone along the line has enabled them
|
||||
|
||||
@@ -552,7 +552,7 @@ sal_Int64 SAL_CALL ThumbnailViewAcc::getSomething( const uno::Sequence< sal_Int8
|
||||
{
|
||||
sal_Int64 nRet;
|
||||
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == rtl_compareMemory( ThumbnailViewAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == memcmp( ThumbnailViewAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
nRet = reinterpret_cast< sal_Int64 >( this );
|
||||
else
|
||||
nRet = 0;
|
||||
@@ -983,7 +983,7 @@ sal_Int64 SAL_CALL ThumbnailViewItemAcc::getSomething( const uno::Sequence< sal_
|
||||
{
|
||||
sal_Int64 nRet;
|
||||
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == rtl_compareMemory( ThumbnailViewItemAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == memcmp( ThumbnailViewItemAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
nRet = reinterpret_cast< sal_Int64 >( this );
|
||||
else
|
||||
nRet = 0;
|
||||
|
||||
@@ -190,8 +190,8 @@ CntStaticPoolDefaults_Impl::CntStaticPoolDefaults_Impl( CntItemPool* /*pPool*/ )
|
||||
m_ppDefaults( new SfxPoolItem* [ m_nItems ] ),
|
||||
m_pItemInfos( new SfxItemInfo [ m_nItems ] )
|
||||
{
|
||||
rtl_zeroMemory( m_ppDefaults, sizeof( SfxPoolItem* ) * m_nItems );
|
||||
rtl_zeroMemory( m_pItemInfos, sizeof( SfxItemInfo ) * m_nItems );
|
||||
memset( m_ppDefaults, 0, sizeof( SfxPoolItem* ) * m_nItems );
|
||||
memset( m_pItemInfos, 0, sizeof( SfxItemInfo ) * m_nItems );
|
||||
Insert(
|
||||
new SfxStringItem( WID_CHAOS_START, String() ),
|
||||
0,
|
||||
|
||||
@@ -391,7 +391,7 @@ sal_Int64 SAL_CALL SmXMLExport::getSomething(
|
||||
throw(uno::RuntimeException)
|
||||
{
|
||||
if ( rId.getLength() == 16 &&
|
||||
0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_uIntPtr >(this));
|
||||
|
||||
|
||||
@@ -543,7 +543,7 @@ sal_Int64 SAL_CALL SmXMLImport::getSomething(
|
||||
throw(uno::RuntimeException)
|
||||
{
|
||||
if ( rId.getLength() == 16 &&
|
||||
0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_uIntPtr >(this));
|
||||
|
||||
|
||||
@@ -381,7 +381,7 @@ sal_Int64 SAL_CALL SmModel::getSomething( const uno::Sequence< sal_Int8 >& rId )
|
||||
throw(uno::RuntimeException)
|
||||
{
|
||||
if( rId.getLength() == 16
|
||||
&& 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
|
||||
&& 0 == memcmp( getUnoTunnelId().getConstArray(),
|
||||
rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_uIntPtr >(this));
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "store/store.h"
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
@@ -353,7 +352,7 @@ storeError SAL_CALL store_findFirst (
|
||||
return store_E_InvalidParameter;
|
||||
|
||||
// Initialize FindData.
|
||||
rtl_zeroMemory (pFindData, sizeof (storeFindData));
|
||||
memset (pFindData, 0, sizeof (storeFindData));
|
||||
|
||||
// Find first.
|
||||
pFindData->m_nReserved = (sal_uInt32)(~0);
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "sal/types.h"
|
||||
#include "osl/diagnose.h"
|
||||
#include "osl/thread.h"
|
||||
#include "rtl/memory.h"
|
||||
#include "rtl/ustring.hxx"
|
||||
|
||||
#include "object.hxx"
|
||||
@@ -242,15 +242,15 @@ static void __store_testUnicode (const sal_Char *pszFilename)
|
||||
hConvert = rtl_createTextToUnicodeConverter (RTL_TEXTENCODING_UTF8);
|
||||
|
||||
MyFindData it;
|
||||
rtl_zeroMemory (&it, sizeof(it));
|
||||
memset (&it, 0, sizeof(it));
|
||||
|
||||
sal_Int32 n = rtl_str_getLength (pszFilename);
|
||||
n = __store_convertTextToUnicode (
|
||||
hConvert, pszFilename, n,
|
||||
it.m_pszName, STORE_MAXIMUM_NAMESIZE - 1);
|
||||
if (it.m_nLength > n)
|
||||
rtl_zeroMemory (
|
||||
&it.m_pszName[n], ((it.m_nLength - n) * sizeof(sal_Unicode)));
|
||||
memset (
|
||||
&it.m_pszName[n], 0, ((it.m_nLength - n) * sizeof(sal_Unicode)));
|
||||
it.m_nLength = n;
|
||||
|
||||
rtl_destroyTextToUnicodeConverter (hConvert);
|
||||
@@ -340,8 +340,8 @@ int SAL_CALL main (int argc, char **argv)
|
||||
xLockBytes.clear();
|
||||
|
||||
sal_Char pBuffer[TEST_PAGESIZE];
|
||||
rtl_zeroMemory (pBuffer, sizeof (pBuffer));
|
||||
rtl_copyMemory (pBuffer, argv[0], rtl_str_getLength(argv[0]) + 1);
|
||||
memset (pBuffer, 0, sizeof (pBuffer));
|
||||
memcpy (pBuffer, argv[0], rtl_str_getLength(argv[0]) + 1);
|
||||
|
||||
eErrCode = xBIOS->write (TEST_PAGESIZE, pBuffer, sizeof (pBuffer));
|
||||
if (eErrCode != store_E_None)
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "lockbyte.hxx"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "osl/file.h"
|
||||
@@ -91,7 +92,7 @@ int SAL_CALL main (int argc, char **argv)
|
||||
}
|
||||
|
||||
sal_Char buffer[TEST_PAGESIZE];
|
||||
rtl_fillMemory (buffer, sizeof(buffer), sal_uInt8('B'));
|
||||
memset (buffer, sal_uInt8('B'), sizeof(buffer));
|
||||
|
||||
sal_uInt32 i, k;
|
||||
for (k = 0; k < 4; k++)
|
||||
@@ -173,14 +174,14 @@ int SAL_CALL main (int argc, char **argv)
|
||||
if (offset == 0)
|
||||
{
|
||||
sal_uInt32 magic = 256 * 4;
|
||||
if (rtl_compareMemory (&verify[index], &magic, sizeof(magic)))
|
||||
if (memcmp (&verify[index], &magic, sizeof(magic)))
|
||||
{
|
||||
// Failure.
|
||||
fprintf (stderr, "t_file: Unexpected value at 0x00000000\n");
|
||||
}
|
||||
index += 4;
|
||||
}
|
||||
if (rtl_compareMemory (
|
||||
if (memcmp (
|
||||
&verify[index], &buffer[index], TEST_PAGESIZE - index))
|
||||
{
|
||||
// Failure.
|
||||
|
||||
@@ -669,7 +669,7 @@ sal_Int64 SAL_CALL ValueSetAcc::getSomething( const uno::Sequence< sal_Int8 >& r
|
||||
{
|
||||
sal_Int64 nRet;
|
||||
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == rtl_compareMemory( ValueSetAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == memcmp( ValueSetAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
nRet = reinterpret_cast< sal_Int64 >( this );
|
||||
else
|
||||
nRet = 0;
|
||||
@@ -1217,7 +1217,7 @@ sal_Int64 SAL_CALL ValueItemAcc::getSomething( const uno::Sequence< sal_Int8 >&
|
||||
{
|
||||
sal_Int64 nRet;
|
||||
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == rtl_compareMemory( ValueItemAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
if( ( rId.getLength() == 16 ) && ( 0 == memcmp( ValueItemAcc::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
nRet = reinterpret_cast< sal_Int64 >( this );
|
||||
else
|
||||
nRet = 0;
|
||||
|
||||
@@ -1959,7 +1959,7 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const String&
|
||||
if ( nChunkLen )
|
||||
{
|
||||
aChunkData.aData.resize( nChunkLen );
|
||||
rtl_copyMemory( &aChunkData.aData[ 0 ], aByteSeq.getConstArray(), nChunkLen );
|
||||
memcpy( &aChunkData.aData[ 0 ], aByteSeq.getConstArray(), nChunkLen );
|
||||
}
|
||||
std::vector< vcl::PNGWriter::ChunkData >::iterator aIter = rChunkData.end() - 1;
|
||||
rChunkData.insert( aIter, aChunkData );
|
||||
|
||||
@@ -274,7 +274,7 @@ const ::Graphic* Graphic::getImplementation( const uno::Reference< uno::XInterfa
|
||||
sal_Int64 SAL_CALL Graphic::getSomething( const uno::Sequence< sal_Int8 >& rId )
|
||||
throw( uno::RuntimeException )
|
||||
{
|
||||
return( ( rId.getLength() == 16 && 0 == rtl_compareMemory( ::Graphic::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) ?
|
||||
return( ( rId.getLength() == 16 && 0 == memcmp( ::Graphic::getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) ?
|
||||
reinterpret_cast< sal_Int64 >( mpGraphic ) :
|
||||
0 );
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <shlobj.h>
|
||||
#endif
|
||||
#include <osl/mutex.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uri.hxx>
|
||||
#include <tools/debug.hxx>
|
||||
#include <tools/urlobj.hxx>
|
||||
@@ -610,7 +609,7 @@ sal_Int64 SAL_CALL TransferableHelper::getSomething( const Sequence< sal_Int8 >&
|
||||
sal_Int64 nRet;
|
||||
|
||||
if( ( rId.getLength() == 16 ) &&
|
||||
( 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
( 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) )
|
||||
{
|
||||
nRet = sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this));
|
||||
}
|
||||
@@ -791,7 +790,7 @@ sal_Bool TransferableHelper::SetString( const ::rtl::OUString& rString, const Da
|
||||
const rtl::OString aByteStr(rtl::OUStringToOString(rString, osl_getThreadTextEncoding()));
|
||||
Sequence< sal_Int8 > aSeq( aByteStr.getLength() + 1 );
|
||||
|
||||
rtl_copyMemory( aSeq.getArray(), aByteStr.getStr(), aByteStr.getLength() );
|
||||
memcpy( aSeq.getArray(), aByteStr.getStr(), aByteStr.getLength() );
|
||||
aSeq[ aByteStr.getLength() ] = 0;
|
||||
maAny <<= aSeq;
|
||||
}
|
||||
|
||||
@@ -944,7 +944,7 @@ sal_Int64 SAL_CALL
|
||||
{
|
||||
sal_Int64 nReturn( 0 );
|
||||
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( getUnoTunnelImplementationId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
|
||||
nReturn = reinterpret_cast< sal_Int64 >( this );
|
||||
|
||||
return( nReturn );
|
||||
|
||||
@@ -735,7 +735,7 @@ SvxPixelCtl::SvxPixelCtl( Window* pParent, const ResId& rResId, sal_uInt16 nNumb
|
||||
|
||||
nSquares = nLines * nLines;
|
||||
pPixel = new sal_uInt16[ nSquares ];
|
||||
rtl_zeroMemory(pPixel, nSquares * sizeof(sal_uInt16));
|
||||
memset(pPixel, 0, nSquares * sizeof(sal_uInt16));
|
||||
}
|
||||
|
||||
// Destructor dealocating the dynamic array
|
||||
@@ -852,7 +852,7 @@ void SvxPixelCtl::SetXBitmap( const XOBitmap& rXBmp )
|
||||
void SvxPixelCtl::Reset()
|
||||
{
|
||||
// clear pixel area
|
||||
rtl_zeroMemory(pPixel, nSquares * sizeof(sal_uInt16));
|
||||
memset(pPixel, 0, nSquares * sizeof(sal_uInt16));
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
|
||||
@@ -1210,7 +1210,7 @@ sal_Int64 SAL_CALL FmXGridPeer::getSomething( const Sequence< sal_Int8 >& _rIden
|
||||
sal_Int64 nReturn(0);
|
||||
|
||||
if ( (_rIdentifier.getLength() == 16)
|
||||
&& (0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
&& (0 == memcmp( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
)
|
||||
{
|
||||
nReturn = reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
@@ -4681,7 +4681,7 @@ sal_Int64 SAL_CALL FmXFilterCell::getSomething( const Sequence< sal_Int8 >& _rId
|
||||
sal_Int64 nReturn(0);
|
||||
|
||||
if ( (_rIdentifier.getLength() == 16)
|
||||
&& (0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
&& (0 == memcmp( getUnoTunnelId().getConstArray(), _rIdentifier.getConstArray(), 16 ))
|
||||
)
|
||||
{
|
||||
nReturn = reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include <sot/clsids.hxx>
|
||||
#include <comphelper/serviceinfohelper.hxx>
|
||||
|
||||
#include <rtl/memory.h>
|
||||
#include <sfx2/objsh.hxx>
|
||||
#include <svx/svdpool.hxx>
|
||||
#include <svx/svdobj.hxx>
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
#include <svx/svdpool.hxx>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
#include <editeng/unoprnms.hxx>
|
||||
#include <svx/unoshape.hxx>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <comphelper/servicehelper.hxx>
|
||||
#include <comphelper/serviceinfohelper.hxx>
|
||||
|
||||
#include <rtl/memory.h>
|
||||
#include <svx/svdpool.hxx>
|
||||
#include <svx/unoshape.hxx>
|
||||
#include <svx/unopage.hxx>
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <comphelper/servicehelper.hxx>
|
||||
#include <comphelper/serviceinfohelper.hxx>
|
||||
#include <toolkit/unohlp.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <vcl/gfxlink.hxx>
|
||||
#include <vcl/virdev.hxx>
|
||||
#include <sfx2/objsh.hxx>
|
||||
@@ -341,7 +340,7 @@ SvxShape* SvxShape::getImplementation( const uno::Reference< uno::XInterface >&
|
||||
//----------------------------------------------------------------------
|
||||
sal_Int64 SAL_CALL SvxShape::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException) \
|
||||
{
|
||||
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
{
|
||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <UndoDraw.hxx>
|
||||
|
||||
#include <rtl/string.h>
|
||||
#include <rtl/memory.h>
|
||||
|
||||
#include <svx/svdogrp.hxx>
|
||||
#include <svx/svdundo.hxx>
|
||||
|
||||
@@ -29,12 +29,14 @@
|
||||
#ifndef _TOOLKIT_HELPER_MACROS_HXX_
|
||||
#define _TOOLKIT_HELPER_MACROS_HXX_
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <comphelper/servicehelper.hxx>
|
||||
|
||||
#define IMPL_XUNOTUNNEL_MINIMAL( ClassName ) \
|
||||
sal_Int64 ClassName::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException) \
|
||||
{ \
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( ClassName::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) \
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( ClassName::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) \
|
||||
{ \
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(this)); \
|
||||
} \
|
||||
@@ -60,7 +62,7 @@ ClassName* ClassName::GetImplementation( const ::com::sun::star::uno::Reference<
|
||||
#define IMPL_XUNOTUNNEL2( ClassName, BaseClass ) \
|
||||
sal_Int64 ClassName::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException) \
|
||||
{ \
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( ClassName::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) \
|
||||
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( ClassName::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) \
|
||||
{ \
|
||||
return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(this)); \
|
||||
} \
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <tools/stream.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
// ----------------------------------------------------
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
@@ -26,11 +26,12 @@
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <toolkit/awt/vclxfont.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <rtl/ustring.h>
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <osl/mutex.hxx>
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <toolkit/awt/vclxprinter.hxx>
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <com/sun/star/beans/NamedValue.hpp>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <osl/conditn.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <rtl/process.h>
|
||||
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <toolkit/helper/property.hxx>
|
||||
#include <toolkit/helper/accessibilityclient.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include <toolkit/awt/vclxwindow.hxx>
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <tools/debug.hxx>
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include <toolkit/helper/servicenames.hxx>
|
||||
#include <toolkit/helper/property.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <tools/debug.hxx>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <toolkit/controls/unocontrol.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <osl/mutex.hxx>
|
||||
#include <tools/date.hxx>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
|
||||
#include <toolkit/controls/unocontrolcontainer.hxx>
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <toolkit/controls/unocontrolmodel.hxx>
|
||||
#include <toolkit/helper/macros.hxx>
|
||||
#include <cppuhelper/typeprovider.hxx>
|
||||
#include <rtl/memory.h>
|
||||
#include <rtl/uuid.h>
|
||||
#include <tools/diagnose_ex.h>
|
||||
#include <tools/date.hxx>
|
||||
|
||||
@@ -116,7 +116,7 @@ static sal_uInt8* ImplSysReadConfig( const rtl::OUString& rFileName,
|
||||
if (nRead > 2 && memcmp(pBuf, BOM, 3) == 0)
|
||||
{
|
||||
nRead -= 3;
|
||||
rtl_moveMemory(pBuf, pBuf + 3, sal::static_int_cast<sal_Size>(nRead * sizeof(sal_uInt8)) );
|
||||
memmove(pBuf, pBuf + 3, sal::static_int_cast<sal_Size>(nRead * sizeof(sal_uInt8)) );
|
||||
rbIsUTF8BOM = sal_True;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user