OXMLSubDocument: copy PrintWhenGroupChange, too

Change-Id: If6a5d9a50f5d600b96faebc51b9798a8e63eec49
Reviewed-on: https://gerrit.libreoffice.org/9501
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
This commit is contained in:
Lionel Elie Mamane 2014-05-27 12:37:54 +02:00
parent 5249cf49ed
commit 3a99c2f91e

View File

@ -118,6 +118,7 @@ void OXMLSubDocument::EndElement()
uno::Reference< report::XReportControlModel > xComponentModel(m_xComponent,uno::UNO_QUERY); uno::Reference< report::XReportControlModel > xComponentModel(m_xComponent,uno::UNO_QUERY);
if ( xComponentModel.is() && xFakeModel.is() ) if ( xComponentModel.is() && xFakeModel.is() )
{ {
xComponentModel->setPrintWhenGroupChange(xFakeModel->getPrintWhenGroupChange());
const sal_Int32 nCount = xFakeModel->getCount(); const sal_Int32 nCount = xFakeModel->getCount();
try try
{ {