User: hr      
Date: 2007-08-03 09:58:04+0000
Modified:
   dba/reportdesign/source/filter/xml/xmlSection.cxx

Log:
 INTEGRATION: CWS rpt23fix02 (1.2.4); FILE MERGED
 2007/07/30 05:53:18 oj 1.2.4.1: #80154# repeat-section corrected

File Changes:

Directory: /dba/reportdesign/source/filter/xml/
===============================================

File [changed]: xmlSection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/filter/xml/xmlSection.cxx?r1=1.2&r2=1.3
Delta lines:  +8 -4
-------------------
--- xmlSection.cxx      2007-07-09 11:56:18+0000        1.2
+++ xmlSection.cxx      2007-08-03 09:58:01+0000        1.3
@@ -119,6 +119,7 @@
        const SvXMLTokenMap& rTokenMap = rImport.GetSectionElemTokenMap();
 
        const sal_Int16 nLength = (m_xSection.is() && _xAttrList.is()) ? 
_xAttrList->getLength() : 0;
+    static const ::rtl::OUString s_sTRUE = 
::xmloff::token::GetXMLToken(XML_TRUE);
     try
        {
            for(sal_Int16 i = 0; i < nLength; ++i)
@@ -137,6 +138,9 @@
                     else
                                            
m_xSection->getReportDefinition()->setPageFooterOption(lcl_getReportPrintOption(sValue));
                                        break;                           
+                case XML_TOK_REPEAT_SECTION:
+                                   m_xSection->setRepeatSection(sValue == 
s_sTRUE );
+                                   break;
 
                 default:
                     OSL_ENSURE(0,"OXMLSection: Unknown attribute!");




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to