cui/source/tabpages/tphatch.cxx |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6df6c576cae880a1645f6a0514a1e10e99cac2f7
Author: Gergely Tarsoly <g.tars...@yahoo.com>
Date: Wed Dec 13 18:57:19 2017 +0100
Minor fix: unused local variable
Change-Id: I42db2c6fd90686641cd6c2f7f45d960977557ab4
Reviewed-on: https://gerrit.libreoffice.org/46416
Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>
Tested-by: Tamás Zolnai <tamas.zol...@collabora.com>
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index 922418d8c358..c3e5097fc916 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -336,7 +336,7 @@ IMPL_LINK_NOARG( SvxHatchTabPage,
ModifiedBackgroundHdl_Impl, SvxColorListBox&,
m_pCtlPreview->SetAttributes( m_aXFillAttr.GetItemSet() );
m_pCtlPreview->Invalidate();
}
-m_rXFSet.Put(XFillColorItem( OUString(),
m_pLbBackgroundColor->GetSelectEntryColor() ));
+m_rXFSet.Put(XFillColorItem( OUString(), aColor ));
m_pCtlPreview->SetAttributes( m_aXFillAttr.GetItemSet() );
m_pCtlPreview->Invalidate();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits