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

Gergely Tarsoly g.tarsoly at yahoo.com
Thu Dec 14 00:27:44 UTC 2017


 cui/source/tabpages/tphatch.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6df6c576cae880a1645f6a0514a1e10e99cac2f7
Author: Gergely Tarsoly <g.tarsoly at 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.zolnai at collabora.com>
    Tested-by: Tamás Zolnai <tamas.zolnai at 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();


More information about the Libreoffice-commits mailing list