diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 784548352c66..356975c5c66c 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -54,6 +54,7 @@ #include #include #include +#include #include diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index ec69a0dd4e1e..19acc72ad310 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -182,7 +182,6 @@ public: const sal_Int32 nIdx, const sal_Int32 nLen, const sal_Bool bUpper ) = 0; - OutputDevice *GetOut() { return pOut; } const OUString &GetTxt() const { return rTxt; } sal_Int32 GetIdx() const { return nIdx; } sal_Int32 GetLen() const { return nLen; } diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx index 4b6b11a37fe6..29ec0a698015 100644 --- a/editeng/source/misc/txtrange.cxx +++ b/editeng/source/misc/txtrange.cxx @@ -142,7 +142,6 @@ public: sal_Bool IsClosed() const { return bClosed; } void SetConcat( const sal_Bool bNew ){ bConcat = bNew; } sal_Bool IsConcat() const { return bConcat; } - sal_uInt8 GetAct() const { return nAct; } }; SvxBoundArgs::SvxBoundArgs( TextRanger* pRanger, LongDqPtr pLong, diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx index 2222d8e762a1..a051997c328e 100644 --- a/editeng/source/uno/unoipset.cxx +++ b/editeng/source/uno/unoipset.cxx @@ -34,15 +34,6 @@ using namespace ::rtl; using ::std::vector; - - -struct SfxItemPropertyMapEntryHash -{ - size_t operator()(const SfxItemPropertyMapEntry* pMap) const { return (size_t)pMap; } -}; - - - struct SvxIDPropertyCombine { sal_uInt16 nWID; diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 1bbd3b2e111d..f0f239170a9d 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1551,21 +1551,6 @@ sal_Int16 SAL_CALL SvxUnoTextRangeBase::compareRegionEnds( const uno::Reference< } } - -// class SvxUnoTextRange - - -uno::Reference< uno::XInterface > SvxUnoTextRange_NewInstance() -{ - SvxUnoText aText; - uno::Reference< text::XTextRange > xRange( new SvxUnoTextRange( aText ) ); -#ifndef _MSC_VER - return xRange; -#else - return (uno::Reference< uno::XInterface >)xRange; -#endif -} - SvxUnoTextRange::SvxUnoTextRange( const SvxUnoTextBase& rParent, bool bPortion /* = false */ ) throw() :SvxUnoTextRangeBase( rParent.GetEditSource(), bPortion ? ImplGetSvxTextPortionSvxPropertySet() : rParent.getPropertySet() ), mbPortion( bPortion ) @@ -2333,11 +2318,6 @@ SvxUnoText::~SvxUnoText() throw() { } -uno::Sequence< uno::Type > SAL_CALL getStaticTypes() throw() -{ - return SvxUnoTextBase::getStaticTypes(); -} - // uno::XInterface uno::Any SAL_CALL SvxUnoText::queryAggregation( const uno::Type & rType ) throw( uno::RuntimeException, std::exception ) { diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx index e66110241fd8..95201133cd81 100644 --- a/editeng/source/uno/unotext2.cxx +++ b/editeng/source/uno/unotext2.cxx @@ -456,18 +456,6 @@ uno::Any SAL_CALL SvxUnoTextRangeEnumeration::nextElement() return uno::makeAny( xRange ); } - -// class SvxUnoTextCursor - - -uno::Reference< uno::XInterface > SvxUnoTextCursor_NewInstance() -{ - SvxUnoText aText; - uno::Reference< text::XText > xText( (text::XText*)new SvxUnoTextCursor( aText ) ); - uno::Reference< uno::XInterface > xInt( xText, uno::UNO_QUERY ); - return xInt; -} - SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextBase& rText ) throw() : SvxUnoTextRangeBase(rText), mxParentText( const_cast(&rText) ) diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 65debcbb2aad..6e5b01b58460 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -45,6 +45,7 @@ #include #include #include "editsource.hxx" +#include "editxml.hxx" #include #include diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index 0761c6e26d72..a72f577b2a3e 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -36,6 +36,7 @@ #include #include #include "editsource.hxx" +#include "editxml.hxx" #include #include #include @@ -114,7 +115,6 @@ public: virtual ~SvxXMLXTextImportComponent() throw (); - static sal_Bool load( const OUString& rUrl, const com::sun::star::uno::Reference< com::sun::star::container::XNameContainer >& xTable ) throw(); protected: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList );