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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 8 12:44:21 UTC 2019


 svx/source/svdraw/svdhdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1165f4008ecadf03685776884f5222ad71814cf4
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Jul 8 11:51:03 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Jul 8 14:43:32 2019 +0200

    no need to use intermediate Bitmap constructor here anymore
    
    Change-Id: Idc08d1a6a40313c24eb06ce68579c3e5020d8259
    Reviewed-on: https://gerrit.libreoffice.org/75209
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 2bbb535fe3f6..9dbab10e315b 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -898,7 +898,7 @@ std::unique_ptr<sdr::overlay::OverlayObject> SdrHdl::CreateOverlayObject(
         // so that the hit test works for this case.
         if (aBmpEx.IsEmpty())
         {
-            aBmpEx = BitmapEx(Bitmap(Size(13, 13), 24));
+            aBmpEx = BitmapEx(Size(13, 13), 24);
             aBmpEx.Erase(COL_BLACK);
         }
 


More information about the Libreoffice-commits mailing list