summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-08 11:51:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-08 14:43:32 +0200
commit1165f4008ecadf03685776884f5222ad71814cf4 (patch)
tree2bd08be3dc83874e5c632b0e821492ef0fc5b8f8 /svx
parent207c368f4bfdbef8fde8efbf75f4fdcf7e0917ba (diff)
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@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdhdl.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}