diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-09 17:53:24 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-09 19:27:49 +0100 |
commit | bc338f4afc4126b37b3183182016ff4173cadeb8 (patch) | |
tree | ac634f4039b2cdcffe23e535b5faf4f921a55690 /chart2/source/controller/dialogs/DialogModel.cxx | |
parent | 4b9d59dbbbac29748b78b8b47c21fd3426e71e55 (diff) |
improve the handling of property mapping sequences
Change-Id: I4ddd656a41ab975786ce6e5cd05597f6b773b334
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/DialogModel.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index b88581f30150..45f57c96544e 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -94,6 +94,8 @@ OUString lcl_ConvertRole( const OUString & rRoleString, bool bFromInternalToUI ) aTranslationMap[ "values-x" ] = ::chart::SchResId( STR_DATA_ROLE_X ).toString(); aTranslationMap[ "values-y" ] = ::chart::SchResId( STR_DATA_ROLE_Y ).toString(); aTranslationMap[ "values-size" ] = ::chart::SchResId( STR_DATA_ROLE_SIZE ).toString(); + aTranslationMap[ "FillColor" ] = ::chart::SchResId( STR_PROPERTY_ROLE_FILLCOLOR ).toString(); + aTranslationMap[ "BorderColor" ] = ::chart::SchResId( STR_PROPERTY_ROLE_BORDERCOLOR ).toString(); } if( bFromInternalToUI ) @@ -216,7 +218,7 @@ struct lcl_RolesWithRangeAppend : public { OUString aRole; Reference< beans::XPropertySet > xProp( xSeq, uno::UNO_QUERY_THROW ); - if( xProp->getPropertyValue( "Role") >>= aRole ) + if( xProp->getPropertyValue( "Role" ) >>= aRole ) { m_rDestCnt.insert( tContainerType::value_type( |