diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-12-03 14:11:34 -0800 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-12-03 14:11:34 -0800 |
commit | 62f144ef3b4e9e5d8cd9b624f86ff823380d425b (patch) | |
tree | 0066852fd0f69a6b454d553e5a9e45f580668179 /xmloff/source/forms/elementexport.cxx | |
parent | 2580fb2882343b7b80cc3c0317d8f99379cc8acb (diff) |
Revert "ODF export: don't write invalid "group-name" attribute"cp-4.2-20
This reverts commit 53824b05f99ac7c68e6d48b53e2bd98c0fe274c7.
Diffstat (limited to 'xmloff/source/forms/elementexport.cxx')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 3118b19877c4..5d4e635fb33a 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1158,9 +1158,11 @@ namespace xmloff { static const sal_Int32 nStringPropertyAttributeIds[] = { // attribute flags + SCA_GROUP_NAME }; static const OUString pStringPropertyNames[] = { // property names + OUString(PROPERTY_GROUP_NAME) }; static const sal_Int32 nIdCount = sizeof( nStringPropertyAttributeIds ) / sizeof( nStringPropertyAttributeIds[0] ); @@ -1656,6 +1658,8 @@ namespace xmloff } if ( m_xPropertyInfo->hasPropertyByName( PROPERTY_IMAGE_POSITION ) ) m_nIncludeSpecial |= SCA_IMAGE_POSITION; + if ( m_xPropertyInfo->hasPropertyByName( PROPERTY_GROUP_NAME ) ) + m_nIncludeSpecial |= SCA_GROUP_NAME; m_nIncludeDatabase = DA_DATA_FIELD | DA_INPUT_REQUIRED; m_nIncludeEvents = EA_CONTROL_EVENTS | EA_ON_CHANGE; break; |