[Libreoffice-commits] core.git: sw/inc sw/source

Daniel Sikeler d.sikeler94 at gmail.com
Wed Dec 3 05:54:13 PST 2014


 sw/inc/SwXMLSectionList.hxx             |   16 ----------------
 sw/source/core/swg/SwXMLSectionList.cxx |   21 ---------------------
 2 files changed, 37 deletions(-)

New commits:
commit 26b0f6a9f5bb42d2daaf5f3f72eee6c6e10b944e
Author: Daniel Sikeler <d.sikeler94 at gmail.com>
Date:   Wed Dec 3 13:06:30 2014 +0000

    remove unused class SwXMLIgnoreSectionListContext
    
    Change-Id: Ia71942a7789a2c4358a4cc2b9744cddaa4544eef
    Reviewed-on: https://gerrit.libreoffice.org/13289
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx
index 6970dc7..110ef13 100644
--- a/sw/inc/SwXMLSectionList.hxx
+++ b/sw/inc/SwXMLSectionList.hxx
@@ -59,22 +59,6 @@ public:
     virtual ~SvXMLSectionListContext ( void );
 };
 
-class SvXMLIgnoreSectionListContext : public SvXMLImportContext
-{
-private:
-    SwXMLSectionList & rLocalRef;
-public:
-    SvXMLIgnoreSectionListContext ( SwXMLSectionList& rImport,
-                           sal_uInt16 nPrefix,
-                           const OUString& rLocalName,
-                           const ::com::sun::star::uno::Reference<
-                           ::com::sun::star::xml::sax::XAttributeList > & xAttrList );
-    virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
-                           const OUString& rLocalName,
-                           const ::com::sun::star::uno::Reference<
-                           ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
-    virtual ~SvXMLIgnoreSectionListContext ( void );
-};
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/swg/SwXMLSectionList.cxx b/sw/source/core/swg/SwXMLSectionList.cxx
index f8795f3..a92e290 100644
--- a/sw/source/core/swg/SwXMLSectionList.cxx
+++ b/sw/source/core/swg/SwXMLSectionList.cxx
@@ -120,25 +120,4 @@ SvXMLSectionListContext::~SvXMLSectionListContext ( void )
 {
 }
 
-SvXMLIgnoreSectionListContext::SvXMLIgnoreSectionListContext(
-   SwXMLSectionList& rImport,
-   sal_uInt16 nPrefix,
-   const OUString& rLocalName,
-   const uno::Reference< xml::sax::XAttributeList > & ) :
-   SvXMLImportContext ( rImport, nPrefix, rLocalName ),
-   rLocalRef(rImport)
-{
-}
-
-SvXMLIgnoreSectionListContext::~SvXMLIgnoreSectionListContext ( void )
-{
-}
-SvXMLImportContext *SvXMLIgnoreSectionListContext::CreateChildContext(
-    sal_uInt16 nPrefix,
-    const OUString& rLocalName,
-    const uno::Reference< xml::sax::XAttributeList > & xAttrList )
-{
-    return  new SvXMLIgnoreSectionListContext (rLocalRef, nPrefix, rLocalName, xAttrList);
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list