Clean up function declarations and some unused functions

Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
This commit is contained in:
Stephan Bergmann
2014-04-09 14:42:34 +02:00
parent a9276a0f22
commit b4fd20fc6b
8 changed files with 3 additions and 44 deletions

View File

@@ -54,6 +54,7 @@
#include <editdbg.hxx>
#include <editeng/eerdll.hxx>
#include <eerdll2.hxx>
#include <impedit.hxx>
#include <rtl/ustrbuf.hxx>

View File

@@ -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; }

View File

@@ -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,

View File

@@ -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;

View File

@@ -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 )
{

View File

@@ -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<SvxUnoTextBase*>(&rText) )

View File

@@ -45,6 +45,7 @@
#include <editeng/unofield.hxx>
#include <editeng/editeng.hxx>
#include "editsource.hxx"
#include "editxml.hxx"
#include <editeng/unonrule.hxx>
#include <editeng/unoipset.hxx>

View File

@@ -36,6 +36,7 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlstyle.hxx>
#include "editsource.hxx"
#include "editxml.hxx"
#include <editeng/editeng.hxx>
#include <editeng/unotext.hxx>
#include <editeng/unoprnms.hxx>
@@ -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 );