summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 22:43:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-07 11:06:45 +0000
commitbbc6d8506d0bb1035c7c6d1755a0655612b54e69 (patch)
tree724a63f8622e5a69236400b0642d0423ca9b6f93
parent04f067623f342be50c31db8aafb29f1bb8e3959f (diff)
remove various unused methods and source files
-rw-r--r--editeng/inc/editeng/unotext.hxx3
-rw-r--r--editeng/source/uno/unotext.cxx27
-rw-r--r--sc/source/filter/xml/xmltabi.cxx1
-rw-r--r--sfx2/source/doc/oleprops.cxx11
-rw-r--r--svtools/inc/svtools/xwindowitem.hxx2
-rw-r--r--svtools/qa/cppunit/data/emf/pass/CVE-2008-2245-1.emfbin0 -> 3524 bytes
-rw-r--r--svtools/source/misc/xwindowitem.cxx19
-rwxr-xr-xunusedcode.easy13
-rw-r--r--xmloff/Library_xo.mk1
-rw-r--r--xmloff/Package_inc.mk1
-rw-r--r--xmloff/inc/xmloff/XMLEmbeddedObjectExportFilter.hxx1
-rw-r--r--xmloff/inc/xmloff/formsimp.hxx51
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx4
-rw-r--r--xmloff/source/draw/sdpropls.cxx11
-rw-r--r--xmloff/source/draw/sdpropls.hxx7
-rw-r--r--xmloff/source/draw/ximppage.cxx1
-rw-r--r--xmloff/source/forms/formsimp.cxx57
-rw-r--r--xmloff/source/text/txtimp.cxx1
18 files changed, 0 insertions, 211 deletions
diff --git a/editeng/inc/editeng/unotext.hxx b/editeng/inc/editeng/unotext.hxx
index 2db3bd267d0e..127771b42bb4 100644
--- a/editeng/inc/editeng/unotext.hxx
+++ b/editeng/inc/editeng/unotext.hxx
@@ -423,15 +423,12 @@ protected:
public:
SvxUnoTextBase( ) throw();
SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw();
- SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw();
SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, ::com::sun::star::uno::Reference < ::com::sun::star::text::XText > xParent ) throw();
SvxUnoTextBase( const SvxUnoTextBase& rText ) throw();
virtual ~SvxUnoTextBase() throw();
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase )
- ESelection InsertField( const SvxFieldItem& rField ) throw();
-
::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > createTextCursorBySelection( const ESelection& rSel );
// ::com::sun::star::text::XSimpleText
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 947a93e9de99..469e2d70da4c 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1581,14 +1581,6 @@ SvxUnoTextBase::SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw()
{
}
-SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw()
-: SvxUnoTextBase_Base( pSource, _pSet )
-{
- ESelection aSelection;
- ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() );
- SetSelection( aSelection );
-}
-
SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > xParent ) throw()
: SvxUnoTextBase_Base( pSource, _pSet )
{
@@ -1608,25 +1600,6 @@ SvxUnoTextBase::~SvxUnoTextBase() throw()
{
}
-// Internal
-ESelection SvxUnoTextBase::InsertField( const SvxFieldItem& rField ) throw()
-{
- SvxTextForwarder* pForwarder = GetEditSource() ? GetEditSource()->GetTextForwarder() : NULL;
- if( pForwarder )
- {
- pForwarder->QuickInsertField( rField, GetSelection() );
- GetEditSource()->UpdateData();
-
- // Adapt selection
- //! It would be easier if the EditEngine would return the selection
- //! on QuickInsertText...
- CollapseToStart();
- GoRight( 1, sal_True ); // Field is always 1 character
- }
-
- return GetSelection(); // Selection with the field
-}
-
uno::Reference< text::XTextCursor > SvxUnoTextBase::createTextCursorBySelection( const ESelection& rSel )
{
SvxUnoTextCursor* pCursor = new SvxUnoTextCursor( *this );
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index a5ff14610161..7add17f1d5d8 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -51,7 +51,6 @@
#include <xmloff/xmltkmap.hxx>
#include <xmloff/nmspmap.hxx>
-#include <xmloff/formsimp.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/XMLEventsImportContext.hxx>
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 9c111a05d2a8..cab4f0a53ec4 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -146,9 +146,6 @@ public:
explicit SfxOleStringPropertyBase(
sal_Int32 nPropId, sal_Int32 nPropType,
rtl_TextEncoding eTextEnc );
- explicit SfxOleStringPropertyBase(
- sal_Int32 nPropId, sal_Int32 nPropType,
- rtl_TextEncoding eTextEnc, const String& rValue );
inline const String& GetValue() const { return maValue; }
inline void SetValue( const String& rValue ) { maValue = rValue; }
@@ -529,14 +526,6 @@ SfxOleStringPropertyBase::SfxOleStringPropertyBase(
{
}
-SfxOleStringPropertyBase::SfxOleStringPropertyBase(
- sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc, const String& rValue ) :
- SfxOlePropertyBase( nPropId, nPropType ),
- SfxOleStringHelper( eTextEnc ),
- maValue( rValue )
-{
-}
-
// ----------------------------------------------------------------------------
SfxOleString8Property::SfxOleString8Property(
diff --git a/svtools/inc/svtools/xwindowitem.hxx b/svtools/inc/svtools/xwindowitem.hxx
index ed4a4c6760b4..4d2ec12e9f2d 100644
--- a/svtools/inc/svtools/xwindowitem.hxx
+++ b/svtools/inc/svtools/xwindowitem.hxx
@@ -50,8 +50,6 @@ class SVT_DLLPUBLIC XWindowItem : public SfxPoolItem
public:
TYPEINFO();
XWindowItem();
- explicit XWindowItem( sal_uInt16 nWhich, Window * pWin );
- XWindowItem( sal_uInt16 nWhich, com::sun::star::uno::Reference< com::sun::star::awt::XWindow > & rxWin );
XWindowItem( const XWindowItem &rItem );
~XWindowItem();
diff --git a/svtools/qa/cppunit/data/emf/pass/CVE-2008-2245-1.emf b/svtools/qa/cppunit/data/emf/pass/CVE-2008-2245-1.emf
new file mode 100644
index 000000000000..746e85e847b4
--- /dev/null
+++ b/svtools/qa/cppunit/data/emf/pass/CVE-2008-2245-1.emf
Binary files differ
diff --git a/svtools/source/misc/xwindowitem.cxx b/svtools/source/misc/xwindowitem.cxx
index d6f379772a86..4796263dd954 100644
--- a/svtools/source/misc/xwindowitem.cxx
+++ b/svtools/source/misc/xwindowitem.cxx
@@ -45,25 +45,6 @@ XWindowItem::XWindowItem() :
}
-XWindowItem::XWindowItem( sal_uInt16 nWhichId, Window * pWin ) :
- SfxPoolItem( nWhichId )
-{
- if (pWin)
- {
- m_xWin = uno::Reference< awt::XWindow >( pWin->GetComponentInterface(), uno::UNO_QUERY );
- // the assertion can't possibly fails since VCLXWindow implements XWindow...
- DBG_ASSERT( m_xWin.is(), "failed to get XWindow" );
- }
-}
-
-
-XWindowItem::XWindowItem( sal_uInt16 nWhichId, uno::Reference< awt::XWindow > & rxWin ) :
- SfxPoolItem( nWhichId ),
- m_xWin( rxWin )
-{
-}
-
-
XWindowItem::XWindowItem( const XWindowItem &rItem ) :
SfxPoolItem( Which() ),
m_xWin( rItem.m_xWin )
diff --git a/unusedcode.easy b/unusedcode.easy
index e9157edf34d2..b80fef4636e0 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -133,7 +133,6 @@ SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short)
SfxMedium::GetHdl()
SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
SfxNavigatorWrapper::GetChildWindowId()
-SfxOleStringPropertyBase::SfxOleStringPropertyBase(int, int, unsigned short, String const&)
SfxPartChildWnd_Impl::GetChildWindowId()
SfxPopupWindow::LinkStubDelete(void*, void*)
SfxRecordingFloatWrapper_Impl::GetChildWindowId()
@@ -198,11 +197,6 @@ SvXMLTokenMap_Impl::Insert(SvXMLTokenMapEntry_Impl* const*, unsigned short)
SvXMLTokenMap_Impl::Insert(SvXMLTokenMap_Impl const*, unsigned short, unsigned short)
SvXMLTokenMap_Impl::Remove(SvXMLTokenMapEntry_Impl* const&, unsigned short)
SvXMLTokenMap_Impl::Remove(unsigned short, unsigned short)
-SvxAreaTabPage::LinkStubClickBitmapHdl_Impl(void*, void*)
-SvxAreaTabPage::LinkStubClickColorHdl_Impl(void*, void*)
-SvxAreaTabPage::LinkStubClickGradientHdl_Impl(void*, void*)
-SvxAreaTabPage::LinkStubClickHatchingHdl_Impl(void*, void*)
-SvxAreaTabPage::LinkStubClickInvisibleHdl_Impl(void*, void*)
SvxAutocorrWordList::Insert(SvxAutocorrWord* const&, unsigned short&)
SvxAutocorrWordList::Insert(SvxAutocorrWord* const*, unsigned short)
SvxAutocorrWordList::Insert(SvxAutocorrWordList const*, unsigned short, unsigned short)
@@ -226,8 +220,6 @@ SvxTabStopArr::Remove(SvxTabStop const&, unsigned short)
SvxTabStopArr_SAR::Replace(SvxTabStop const&, unsigned short)
SvxTabStopArr_SAR::Replace(SvxTabStop const*, unsigned short, unsigned short)
SvxTabStopArr_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(SvxTabStop const&, void*), void*)
-SvxUnoTextBase::InsertField(SvxFieldItem const&)
-SvxUnoTextBase::SvxUnoTextBase(SvxEditSource const*, SvxItemPropertySet const*)
SvxUnoTextContent::SvxUnoTextContent()
SwAttrIter::Dump(SvStream&) const
SwBlinkList::Insert(SwBlinkList const*, unsigned short, unsigned short)
@@ -391,7 +383,6 @@ Window::PostUserEvent(unsigned long&, unsigned long, void*)
X11SalGraphics::SetMask(int&, int&, unsigned int&, unsigned int&, int&, int&, unsigned long)
X509Certificate_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
XMLElement::Equals(rtl::OUString)
-XMLEmbeddedObjectExportFilter::XMLEmbeddedObjectExportFilter()
XMLErrors::AddRecord(int, com::sun::star::uno::Sequence<rtl::OUString> const&)
XMLErrors::AddRecord(int, com::sun::star::uno::Sequence<rtl::OUString> const&, rtl::OUString const&)
XMLFamilyDataList_Impl::GetPos(XMLFamilyData_Impl const*) const
@@ -400,8 +391,6 @@ XMLFontAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
XMLFontAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLFontAutoStylePool_Impl::GetPos(XMLFontAutoStylePoolEntry_Impl const*) const
XMLFontAutoStylePool_Impl::Remove(XMLFontAutoStylePoolEntry_Impl*)
-XMLFormsContext::XMLFormsContext(SvXMLImport&, unsigned short, rtl::OUString const&)
-XMLPagePropertySetMapper::XMLPagePropertySetMapper(UniReference<XMLPropertyHandlerFactory> const&)
XMLParentNode::AddChild(XMLChildNode*, unsigned long)
XMLParentNode::GetChildElement(XMLElement*)
XMLParentNode::RemoveChild(XMLElement*)
@@ -417,8 +406,6 @@ XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*)
XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short)
-XWindowItem::XWindowItem(unsigned short, Window*)
-XWindowItem::XWindowItem(unsigned short, com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
_CpyTabFrms::Insert(_CpyTabFrm const&, unsigned short&)
_CpyTabFrms::Insert(_CpyTabFrm const*, unsigned short)
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index 558b5f3b537d..a5ed58f129d5 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -171,7 +171,6 @@ $(eval $(call gb_Library_add_exception_objects,xo,\
xmloff/source/forms/formevents \
xmloff/source/forms/formlayerexport \
xmloff/source/forms/formlayerimport \
- xmloff/source/forms/formsimp \
xmloff/source/forms/gridcolumnproptranslator \
xmloff/source/forms/layerexport \
xmloff/source/forms/layerimport \
diff --git a/xmloff/Package_inc.mk b/xmloff/Package_inc.mk
index b53ea7eacc6c..fc7f9218f8a3 100644
--- a/xmloff/Package_inc.mk
+++ b/xmloff/Package_inc.mk
@@ -75,7 +75,6 @@ $(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/dllapi.h,xmloff/dllapi.h
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/families.hxx,xmloff/families.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/formlayerexport.hxx,xmloff/formlayerexport.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/formlayerimport.hxx,xmloff/formlayerimport.hxx))
-$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/formsimp.hxx,xmloff/formsimp.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/i18nmap.hxx,xmloff/i18nmap.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/maptype.hxx,xmloff/maptype.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/nmspmap.hxx,xmloff/nmspmap.hxx))
diff --git a/xmloff/inc/xmloff/XMLEmbeddedObjectExportFilter.hxx b/xmloff/inc/xmloff/XMLEmbeddedObjectExportFilter.hxx
index 2c9af8b4c400..53d332f2f4b3 100644
--- a/xmloff/inc/xmloff/XMLEmbeddedObjectExportFilter.hxx
+++ b/xmloff/inc/xmloff/XMLEmbeddedObjectExportFilter.hxx
@@ -45,7 +45,6 @@ class XMLEmbeddedObjectExportFilter : public ::cppu::WeakImplHelper3<
::com::sun::star::xml::sax::XExtendedDocumentHandler > xExtHandler;
public:
- XMLEmbeddedObjectExportFilter() throw();
XMLEmbeddedObjectExportFilter( const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XDocumentHandler > & rHandler ) throw();
virtual ~XMLEmbeddedObjectExportFilter () throw();
diff --git a/xmloff/inc/xmloff/formsimp.hxx b/xmloff/inc/xmloff/formsimp.hxx
deleted file mode 100644
index 3fadb7195e51..000000000000
--- a/xmloff/inc/xmloff/formsimp.hxx
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _XMLOFF_FORMSIMP_HXX
-#define _XMLOFF_FORMSIMP_HXX
-
-#include <xmloff/xmlictxt.hxx>
-
-//////////////////////////////////////////////////////////////////////////////
-// presentations:animations
-
-class XMLFormsContext : public SvXMLImportContext
-{
-public:
- TYPEINFO();
-
- XMLFormsContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLocalName);
- virtual ~XMLFormsContext();
-
- virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const ::rtl::OUString& rLocalName,
- const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList );
-};
-
-#endif // _XMLOFF_ANIMIMP_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
index 00f10ecbe5a6..b2dc0650e599 100644
--- a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
@@ -34,10 +34,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-XMLEmbeddedObjectExportFilter::XMLEmbeddedObjectExportFilter() throw()
-{
-}
-
XMLEmbeddedObjectExportFilter::XMLEmbeddedObjectExportFilter(
const Reference< XDocumentHandler > & rHandler ) throw() :
xHandler( rHandler ),
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 7c68585ee73f..82f5476f09e5 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -1572,17 +1572,6 @@ void XMLShapeExportPropertyMapper::handleElementItem(
}
}
-//////////////////////////////////////////////////////////////////////////////
-
-XMLPagePropertySetMapper::XMLPagePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef)
-: XMLPropertySetMapper( aXMLSDPresPageProps, rFactoryRef )
-{
-}
-
-XMLPagePropertySetMapper::~XMLPagePropertySetMapper()
-{
-}
-
// ----------------------------------------
XMLPageExportPropertyMapper::XMLPageExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport ) :
diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx
index 47187822f2b4..e85115695181 100644
--- a/xmloff/source/draw/sdpropls.hxx
+++ b/xmloff/source/draw/sdpropls.hxx
@@ -297,13 +297,6 @@ public:
sal_uInt32 nIdx = 0 ) const;
};
-class XMLPagePropertySetMapper : public XMLPropertySetMapper
-{
-public:
- XMLPagePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef);
- ~XMLPagePropertySetMapper();
-};
-
class XMLPageExportPropertyMapper : public SvXMLExportPropertyMapper
{
private:
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index 79d0acc2b269..09fbb03752a7 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -40,7 +40,6 @@
#include "ximpshap.hxx"
#include "animimp.hxx"
#include "XMLStringBufferImportContext.hxx"
-#include <xmloff/formsimp.hxx>
#include <xmloff/xmlictxt.hxx>
#include "ximpstyl.hxx"
#include <xmloff/prstylei.hxx>
diff --git a/xmloff/source/forms/formsimp.cxx b/xmloff/source/forms/formsimp.cxx
deleted file mode 100644
index fa4f7ab7afc6..000000000000
--- a/xmloff/source/forms/formsimp.cxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <com/sun/star/xml/sax/XAttributeList.hpp>
-#include <xmloff/xmlimp.hxx>
-#include "xmloff/xmlnmspe.hxx"
-#include <xmloff/nmspmap.hxx>
-
-#include <xmloff/formsimp.hxx>
-
-using ::rtl::OUString;
-using ::rtl::OUStringBuffer;
-
-
-TYPEINIT1( XMLFormsContext, SvXMLImportContext );
-
-XMLFormsContext::XMLFormsContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLocalName )
-: SvXMLImportContext(rImport, nPrfx, rLocalName)
-{
-}
-
-XMLFormsContext::~XMLFormsContext()
-{
-}
-
-SvXMLImportContext * XMLFormsContext::CreateChildContext( sal_uInt16 nPrefix, const ::rtl::OUString& rLocalName,
- const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList )
-{
- return GetImport().GetFormImport()->createContext( nPrefix, rLocalName, xAttrList );
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 7d210ca1e28f..57c0ccf668bc 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -85,7 +85,6 @@
#include "XMLAutoMarkFileContext.hxx"
#include "XMLCalculationSettingsContext.hxx"
-#include <xmloff/formsimp.hxx>
#include "XMLNumberStylesImport.hxx"
// XML import: reconstrution of assignment of paragraph style to outline levels (#i69629#)
#include <com/sun/star/beans/XPropertyState.hpp>