summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-07-27 15:43:11 -0800
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-08-06 18:59:45 +0200
commitc936193b51c9328f9279078207bddfca23995b05 (patch)
tree6554d1164d8b00451ee5b0d35db663087ef7fe41
parent831221d48f9375fa1903bc5d123c9bf633ce209c (diff)
tdf#117892 Blue Area/Background Bitmap tabpage Preview fix
Change-Id: Iaef3651407d1df85b1cb221821d47c33e111016e Reviewed-on: https://gerrit.libreoffice.org/58206 Tested-by: Jenkins Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 10b865fc00a97e5ad0bf76cb9bad774933e25461) Reviewed-on: https://gerrit.libreoffice.org/58365 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--cui/source/tabpages/tpbitmap.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 52ca43fb6892..9e387385120d 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -524,6 +524,8 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ModifyBitmapHdl, ValueSet*, void)
ModifyBitmapStyleHdl( *m_pBitmapStyleLB );
ModifyBitmapPositionHdl( *m_pPositionLB );
+ m_rXFSet.ClearItem();
+
m_rXFSet.Put(XFillStyleItem(drawing::FillStyle_BITMAP));
m_rXFSet.Put(XFillBitmapItem(OUString(), *pGraphicObject));