summaryrefslogtreecommitdiff
path: root/libreofficekit/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-15 10:24:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-15 12:37:35 +0100
commit953a5cb1c8c750df24ed0316349a5916c384296d (patch)
tree26a76707725fad73d9e71486f0723406bae52065 /libreofficekit/qa
parentbca14a7126a8cea12eecd248ae84e3d07db9609b (diff)
move Bitmap::ScopedWriteAccess inside vcl
would have liked to make the AcquireWriteAccess methods DLLPRIVATE, but they are needed by the workbench and testing code Change-Id: I22497788eb68dfb84b7e542e5ef53322892a5274 Reviewed-on: https://gerrit.libreoffice.org/51310 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'libreofficekit/qa')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index 742481a4e24c..6cdd73cd2a5b 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -320,7 +320,7 @@ static void dumpRGBABitmap( const OUString& rPath, const unsigned char* pBuffer,
const int nWidth, const int nHeight )
{
Bitmap aBitmap( Size( nWidth, nHeight ), 32 );
- Bitmap::ScopedWriteAccess pWriteAccess( aBitmap );
+ BitmapScopedWriteAccess pWriteAccess( aBitmap );
memcpy( pWriteAccess->GetBuffer(), pBuffer, 4*nWidth*nHeight );
BitmapEx aBitmapEx( aBitmap );