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

Katarina Behrens Katarina.Behrens at cib.de
Sat Apr 7 17:57:21 UTC 2018


 cui/source/tabpages/tparea.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b85691995e7b1a1aadf714c34e7fe6b9cd3206d8
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Fri Mar 30 18:08:50 2018 +0200

    Pass full item set to bitmap tabpages
    
    Change-Id: I5d72b582f98538fdf5efe40bfca686dc0cdfc013
    Reviewed-on: https://gerrit.libreoffice.org/52364
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 80aa95d26df5..62e5ccd58594 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -205,7 +205,8 @@ void SvxAreaTabPage::ActivatePage( const SfxItemSet& rSet )
         case drawing::FillStyle_BITMAP:
         {
             XFillBitmapItem aItem(static_cast<const XFillBitmapItem&>( rSet.Get( GetWhich( XATTR_FILLBITMAP ) ) ));
-            m_rXFSet.Put( aItem );
+            // pass full item set here, bitmap fill has many attributes (tiling, size, offset etc.)
+            m_rXFSet.Put( rSet );
             if(!aItem.isPattern())
                 SelectFillTypeHdl_Impl( m_pBtnBitmap );
             else


More information about the Libreoffice-commits mailing list