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

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Fri Mar 9 08:56:14 UTC 2018


 chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ec05c7fd4a0e09e0c953f243475cbc7db9afb02c
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Fri Mar 9 16:22:05 2018 +0900

    chart2: change usage of MID_GRAFURL to MID_BITMAP
    
    Change-Id: Ifba65af4820f6a24984f6b3f5ca4f8ecb7acaa6a
    Reviewed-on: https://gerrit.libreoffice.org/50983
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
index f6e3e7a16bd5..df440bdf8ce6 100644
--- a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
@@ -363,7 +363,7 @@ void GraphicPropertyItemConverter::FillSpecialItem(
 
                 lcl_SetContentForNamedProperty(
                     m_xNamedPropertyTableFactory, "com.sun.star.drawing.BitmapTable" ,
-                    aItem, MID_GRAFURL );
+                    aItem, MID_BITMAP );
 
                 // translate model name to UI-name for predefined entries, so
                 // that the correct entry is chosen in the list of UI-names
@@ -640,7 +640,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem(
                     {
                         // add Bitmap to list
                         uno::Any aBitmap;
-                        rItem.QueryValue( aBitmap, MID_GRAFURL );
+                        rItem.QueryValue(aBitmap, MID_BITMAP);
                         OUString aPreferredName;
                         aValue >>= aPreferredName;
                         aValue <<= PropertyHelper::addBitmapUniqueNameToTable(


More information about the Libreoffice-commits mailing list