diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-29 12:29:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-29 12:44:23 +0100 |
commit | 21ca0847952be3eabc7c11200a2b70e0801a8fc6 (patch) | |
tree | aeab1f2d0b33c9b8a07114a6dca46661c5b7788e /editeng/source | |
parent | 9ce98add53128716524ec06dd1f90548326adce0 (diff) |
callcatcher: update list
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 9 | ||||
-rw-r--r-- | editeng/source/uno/unotext2.cxx | 18 |
2 files changed, 0 insertions, 27 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 469e2d70da4c..ab24176ee589 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -2162,15 +2162,6 @@ SvxUnoText::~SvxUnoText() throw() { } -SvxUnoText* SvxUnoText::getImplementation( const uno::Reference< uno::XInterface >& xInt ) -{ - uno::Reference< lang::XUnoTunnel > xUT( xInt, uno::UNO_QUERY ); - if( xUT.is() ) - return reinterpret_cast<SvxUnoText*>(sal::static_int_cast<sal_uIntPtr>(xUT->getSomething( SvxUnoText::getUnoTunnelId()))); - else - return NULL; -} - namespace { class theSvxUnoTextUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextUnoTunnelId > {}; diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx index 095763f69f36..e3fb8c93a9b4 100644 --- a/editeng/source/uno/unotext2.cxx +++ b/editeng/source/uno/unotext2.cxx @@ -102,24 +102,6 @@ uno::Any SvxUnoTextContentEnumeration::nextElement(void) throw( container::NoSuc // ==================================================================== // class SvxUnoTextContent // ==================================================================== -uno::Reference< text::XText > xDummyText; - -static SvxUnoText* getDummyText() throw() -{ - if(!xDummyText.is()) - xDummyText = new SvxUnoText(); - - return SvxUnoText::getImplementation( xDummyText ); -} - -SvxUnoTextContent::SvxUnoTextContent() throw() -: SvxUnoTextContent_Base(*getDummyText()) -, mnParagraph(0) -, mrParentText(*getDummyText()) -, maDisposeListeners(maDisposeContainerMutex) -, mbDisposing( false ) -{ -} SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextBase& rText, sal_uInt16 nPara ) throw() : SvxUnoTextContent_Base(rText) |