summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-18 16:36:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-18 20:47:01 +0000
commit6fe8925305dffd2e1d496319f73ef6602363ef7b (patch)
tree126b3787ff6538d3ab51555dac681a86bb2a7d58 /vcl/opengl
parentf8779bbcef2a2eeab8d74bce445a0eaceda8bdde (diff)
basebmp now only used from vcl/headless code
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 03497dc44921..e8cbc313a3a4 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -726,7 +726,7 @@ BitmapBuffer* OpenGLSalBitmap::AcquireBuffer( BitmapAccessMode nMode )
// maUserBuffer must be unique when we are doing the write access
if (nMode == BITMAP_WRITE_ACCESS && maUserBuffer && !maUserBuffer.unique())
{
- basebmp::RawMemorySharedArray aBuffer(maUserBuffer);
+ boost::shared_array<sal_uInt8> aBuffer(maUserBuffer);
maUserBuffer.reset();
AllocateUserData();