[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - reportdesign/source
Lionel Elie Mamane
lionel at mamane.lu
Wed May 28 08:30:49 PDT 2014
reportdesign/source/filter/xml/xmlExport.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 55e51c5a139b0403513976914e2719318cd3feb9
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Tue May 27 12:36:53 2014 +0200
fdo#67937 "print on group change" defaults to TRUE
Thus it needs to be saved when it is *false*.
Change-Id: I01bae547afe71ede12fb852c1a9040b7e45bf7b9
Reviewed-on: https://gerrit.libreoffice.org/9499
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index 7e5cc8b..cb0bc70 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -470,8 +470,8 @@ void ORptExport::exportFormatConditions(const Reference<XReportControlModel>& _x
void ORptExport::exportReportElement(const Reference<XReportControlModel>& _xReportElement)
{
OSL_ENSURE(_xReportElement.is(),"_xReportElement is NULL -> GPF");
- if ( _xReportElement->getPrintWhenGroupChange() )
- AddAttribute(XML_NAMESPACE_REPORT, XML_PRINT_WHEN_GROUP_CHANGE, XML_TRUE );
+ if ( !_xReportElement->getPrintWhenGroupChange() )
+ AddAttribute(XML_NAMESPACE_REPORT, XML_PRINT_WHEN_GROUP_CHANGE, XML_FALSE );
if ( !_xReportElement->getPrintRepeatedValues() )
AddAttribute(XML_NAMESPACE_REPORT, XML_PRINT_REPEATED_VALUES,XML_FALSE);
More information about the Libreoffice-commits
mailing list