summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/processor3d/zbufferprocessor3d.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
index 5bdb354ee03c..31c96f8dd1ca 100644
--- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
@@ -56,7 +56,7 @@ namespace
BitmapWriteAccess* pContent = aContent.AcquireWriteAccess();
BitmapWriteAccess* pAlpha = aAlpha.AcquireWriteAccess();
- if(pContent && pAlpha)
+ if (pContent && pAlpha)
{
if(mnAntiAlialize)
{
@@ -117,11 +117,11 @@ namespace
}
}
}
-
- aContent.ReleaseAccess(pContent);
- aAlpha.ReleaseAccess(pAlpha);
}
+ aAlpha.ReleaseAccess(pAlpha);
+ aContent.ReleaseAccess(pContent);
+
aRetval = BitmapEx(aContent, aAlpha);
// #i101811# set PrefMapMode and PrefSize at newly created Bitmap