summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-18 18:08:37 +0200
committerAndras Timar <andras.timar@collabora.com>2014-12-02 10:45:36 +0100
commit53824b05f99ac7c68e6d48b53e2bd98c0fe274c7 (patch)
tree2aff9ea7f2bd9a99ecf3f0fbd43758a641da50f6 /sc/source
parentd8ae4e4a74cfd3b7e997c2132fdc41a812be8069 (diff)
ODF export: don't write invalid "group-name" attribute
Radio buttons are grouped via their "form:name" attribute already. Change-Id: I9f8b27a2904d947c3d4665495d36961e3e41d2c6
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/xiescher.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index a739409f5136..8d86040d0b20 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -2321,7 +2321,8 @@ void XclImpOptionButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const
ScfPropertySet aProps( xCtrlModel );
OUString sGroupName = OUString::number( pLeader->GetDffShapeId() );
- aProps.SetStringProperty( "GroupName", sGroupName );
+ // for radio buttons, "Name" is the group name
+ aProps.SetStringProperty( "Name", sGroupName );
aProps.SetStringProperty( "RefValue", OUString::number( nRefVal++ ) );
if ( pLeader->HasCellLink() && !pTbxObj->HasCellLink() )
{