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

Caolán McNamara caolanm at redhat.com
Sat Jan 21 17:05:42 UTC 2017


 cui/source/customize/cfg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0b90c4a2856edefe4c91c51d5d72daa5a301b41c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 21 17:03:10 2017 +0000

    fix build
    
    Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c

diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 4a77f42..ca667f3 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -5385,7 +5385,7 @@ bool SvxIconSelectorDialog::ReplaceGraphicItem(
                 }
                 pTbSymbol->InsertItem( nId,aImage, aURL, ToolBoxItemBits::NONE, 0 ); //modify
 
-                xGraphic = aImage.GetXGraphic();
+                xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic();
 
                 URLs[0] = aURL;
                 aImportGraph[ 0 ] = xGraphic;
@@ -5548,7 +5548,7 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
                 {
                     pTbSymbol->InsertItem( nId, aImage, aURL, ToolBoxItemBits::NONE, 0 );
 
-                    xGraphic = aImage.GetXGraphic();
+                    xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic();
                     xGraphic->acquire();
 
                     pTbSymbol->SetItemData(


More information about the Libreoffice-commits mailing list