diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-18 18:08:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:14 +0200 |
commit | 2d4b87f0c1bfd97185a89c18d5b7680d11a958d6 (patch) | |
tree | 95ec0fff7ecffa989927d52126e86ee62ff92fcf /sc | |
parent | f05273aa478135b199577877ecd16325e0df95d2 (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')
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index c463097480e5..944e083074ca 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -2288,7 +2288,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() ) { |