summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-03-09 16:22:05 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-03-09 09:55:48 +0100
commitec05c7fd4a0e09e0c953f243475cbc7db9afb02c (patch)
tree855766bbb79c4e330e28ffb8084c868433b71f5e
parentc7ff07b2dab639b901c80f1f62efee4dd3ad549b (diff)
chart2: change usage of MID_GRAFURL to MID_BITMAP
Change-Id: Ifba65af4820f6a24984f6b3f5ca4f8ecb7acaa6a Reviewed-on: https://gerrit.libreoffice.org/50983 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx4
1 files changed, 2 insertions, 2 deletions
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(