Kaydet (Commit) ec05c7fd authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Tomaž Vajngerl

chart2: change usage of MID_GRAFURL to MID_BITMAP

Change-Id: Ifba65af4820f6a24984f6b3f5ca4f8ecb7acaa6a
Reviewed-on: https://gerrit.libreoffice.org/50983Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst c7ff07b2
...@@ -363,7 +363,7 @@ void GraphicPropertyItemConverter::FillSpecialItem( ...@@ -363,7 +363,7 @@ void GraphicPropertyItemConverter::FillSpecialItem(
lcl_SetContentForNamedProperty( lcl_SetContentForNamedProperty(
m_xNamedPropertyTableFactory, "com.sun.star.drawing.BitmapTable" , m_xNamedPropertyTableFactory, "com.sun.star.drawing.BitmapTable" ,
aItem, MID_GRAFURL ); aItem, MID_BITMAP );
// translate model name to UI-name for predefined entries, so // translate model name to UI-name for predefined entries, so
// that the correct entry is chosen in the list of UI-names // that the correct entry is chosen in the list of UI-names
...@@ -640,7 +640,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem( ...@@ -640,7 +640,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem(
{ {
// add Bitmap to list // add Bitmap to list
uno::Any aBitmap; uno::Any aBitmap;
rItem.QueryValue( aBitmap, MID_GRAFURL ); rItem.QueryValue(aBitmap, MID_BITMAP);
OUString aPreferredName; OUString aPreferredName;
aValue >>= aPreferredName; aValue >>= aPreferredName;
aValue <<= PropertyHelper::addBitmapUniqueNameToTable( aValue <<= PropertyHelper::addBitmapUniqueNameToTable(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment