Tag: cws_src680_rpt23fix02
User: oj      
Date: 2007-07-30 05:53:20+0000
Modified:
   dba/reportdesign/source/filter/xml/xmlSection.cxx
   dba/reportdesign/source/filter/xml/xmlTable.cxx

Log:
 #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.2.4.1
Delta lines:  +8 -4
-------------------
--- xmlSection.cxx      2007-07-09 11:56:18+0000        1.2
+++ xmlSection.cxx      2007-07-30 05:53:18+0000        1.2.4.1
@@ -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!");

File [changed]: xmlTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/filter/xml/xmlTable.cxx?r1=1.2.4.2&r2=1.2.4.3
Delta lines:  +4 -6
-------------------
--- xmlTable.cxx        2007-07-24 08:34:23+0000        1.2.4.2
+++ xmlTable.cxx        2007-07-30 05:53:18+0000        1.2.4.3
@@ -147,9 +147,7 @@
                            case XML_TOK_KEEP_TOGETHER:
                                    m_xSection->setKeepTogether(sValue == 
s_sTRUE);
                                    break;
-                           case XML_TOK_REPEAT_SECTION:
-                                   m_xSection->setRepeatSection(sValue == 
s_sTRUE );
-                                   break;
+                           
                            case XML_TOK_SECTION_NAME:
                                    m_xSection->setName(sValue);
                                    break;




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

Reply via email to