summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2018-11-03 18:01:42 +0300
committerJustin Luth <justin_luth@sil.org>2018-11-05 06:53:25 +0100
commit655154e45abfe6c69b97ad5c615f231be4b3827a (patch)
tree97ccb80d699a234369a34ab026244d769b165f83 /vcl
parent80400973e06e08f0c1ab0b9a86418c1bcc4bbd5c (diff)
tdf#118244 pdfexport: radio buttons can group with same name
The old implementation grouped radio buttons if their object name was the same, and didn't have a groupname property. The old implementation still works - so that still needs to be supported, which this patch ensures. Change-Id: Ied6ddc52d1c4ab5bca56b14da51258460ca2120c Reviewed-on: https://gerrit.libreoffice.org/62812 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/pdfexport/pdfexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index 71fd198a0e35..80cb72fc1dff 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -902,13 +902,13 @@ void PdfExportTest::testTdf118244_radioButtonGroup()
{
size_t expectedSize = 2;
++nRadioGroups;
- if ( nRadioGroups == 2 )
- expectedSize = 5;
+ if ( nRadioGroups == 3 )
+ expectedSize = 3;
CPPUNIT_ASSERT_EQUAL(expectedSize, pKids->GetElements().size());
}
}
}
- CPPUNIT_ASSERT_EQUAL_MESSAGE("# of radio groups", sal_uInt32(2), nRadioGroups);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("# of radio groups", sal_uInt32(3), nRadioGroups);
}
#if HAVE_MORE_FONTS