diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-10-21 11:17:59 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-10-21 11:17:59 +0000 |
commit | 75014c9a3aaadaf674dedec4e1861383cba1e1bb (patch) | |
tree | 470b9d2e9b691aa98bfe26348a466ba31a5abeb1 /svx/source/unoedit | |
parent | 3d53046a3f42147b0ce8c9b50541f213ce1a5076 (diff) |
INTEGRATION: CWS dr41 (1.51.188); FILE MERGED
2005/10/05 11:52:57 dr 1.51.188.2: RESYNC: (1.51-1.52); FILE MERGED
2005/08/16 15:41:08 sab 1.51.188.1: #i47046#; remove redundancy
Diffstat (limited to 'svx/source/unoedit')
-rw-r--r-- | svx/source/unoedit/unotext.cxx | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/svx/source/unoedit/unotext.cxx b/svx/source/unoedit/unotext.cxx index f341d828dac0..69af6d3ffba2 100644 --- a/svx/source/unoedit/unotext.cxx +++ b/svx/source/unoedit/unotext.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unotext.cxx,v $ * - * $Revision: 1.52 $ + * $Revision: 1.53 $ * - * last change: $Author: rt $ $Date: 2005-09-09 01:12:22 $ + * last change: $Author: rt $ $Date: 2005-10-21 12:17:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -117,9 +117,6 @@ using namespace ::com::sun::star; #define QUERYINT( xint ) \ if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \ return uno::makeAny(uno::Reference< xint >(this)) -#define QUERYINT2( xint ) \ - if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \ - aAny <<= uno::Reference< xint >(this) SfxItemPropertyMap aEmptyPropMap[] = { @@ -2016,29 +2013,6 @@ ESelection SvxUnoTextBase::InsertField( const SvxFieldItem& rField ) throw() return GetSelection(); // Selektion mit dem Feld } -sal_Bool SvxUnoTextBase::queryAggregation( const uno::Type & rType, uno::Any& aAny ) -{ - QUERYINT2( text::XText ); - else QUERYINT2( text::XSimpleText ); - else if( rType == ::getCppuType((const uno::Reference< text::XTextRange >*)0) ) - aAny <<= uno::Reference< text::XTextRange >((text::XText*)(this)); - else QUERYINT2(container::XEnumerationAccess ); - else QUERYINT2( container::XElementAccess ); -// else QUERYINT2( beans::XTolerantMultiPropertySet ); - else QUERYINT2( beans::XPropertySet ); - else QUERYINT2( beans::XMultiPropertySet ); - else QUERYINT2( beans::XPropertyState ); - else QUERYINT2( text::XTextRangeCompare ); - else QUERYINT2( lang::XServiceInfo ); - else QUERYINT2( text::XTextRangeMover ); - else QUERYINT2( lang::XTypeProvider ); - else QUERYINT2( lang::XUnoTunnel ); - else - return sal_False; - - return sal_True; -} - // XInterface uno::Any SAL_CALL SvxUnoTextBase::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException) |