diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-09 14:42:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-09 14:42:51 +0200 |
commit | b4fd20fc6b4d7635c607fb2022e6694ed8466022 (patch) | |
tree | bc73765c9d6b6a8f181b562939fd0b364b743988 /editeng/source/uno | |
parent | a9276a0f2212483001ea8e21756ded3129e50c87 (diff) |
Clean up function declarations and some unused functions
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unoipset.cxx | 9 | ||||
-rw-r--r-- | editeng/source/uno/unotext.cxx | 20 | ||||
-rw-r--r-- | editeng/source/uno/unotext2.cxx | 12 |
3 files changed, 0 insertions, 41 deletions
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<SvxUnoTextBase*>(&rText) ) |