[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Thu Apr 21 10:52:07 UTC 2016


 vcl/source/outdev/bitmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6dd392621891e159e2ccbc96453028f3b8ff2b7e
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Apr 21 13:49:27 2016 +0300

    Make the OSL_ENSURE message match reality
    
    Change-Id: Id006ebb6138d8cb1ec6f2242527e550674ab523a

diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index e0e953f..f538ca0 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -447,7 +447,7 @@ Bitmap OutputDevice::GetBitmap( const Point& rSrcPt, const Size& rSize ) const
                         }
                         else
                         {
-                            OSL_ENSURE(false, "CopyBits with negative width or height (!)");
+                            OSL_ENSURE(false, "CopyBits with zero or negative width or height");
                         }
 
                         aBmp = aVDev->GetBitmap( Point(), aVDev->GetOutputSizePixel() );


More information about the Libreoffice-commits mailing list