summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2002-07-26 13:05:36 +0000
committerThorsten Behrens <thb@openoffice.org>2002-07-26 13:05:36 +0000
commitc7a8f0d88c7c5a45a830ca4aa04890c600958bcd (patch)
treecaab1891e8f17f326aa07f583a997dd4d69bf612 /svx
parent0837fe7abf9d012b2871cad36e71b5ae67cf5882 (diff)
#101004# Enable getCharacterAttributes functionality
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleEditableTextPara.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/svx/source/accessibility/AccessibleEditableTextPara.cxx b/svx/source/accessibility/AccessibleEditableTextPara.cxx
index 500894a1dd6e..760520ebc329 100644
--- a/svx/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/svx/source/accessibility/AccessibleEditableTextPara.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleEditableTextPara.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: thb $ $Date: 2002-07-25 08:35:12 $
+ * last change: $Author: thb $ $Date: 2002-07-26 14:05:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -935,12 +935,6 @@ namespace accessibility
uno::Sequence< beans::PropertyValue > SAL_CALL AccessibleEditableTextPara::getCharacterAttributes( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
-#if 0
- // TODO: getCharacterAttributes() does not work for paragraphs containing fields (SIGSEV in SvxUnoTextField::~SvxUnoTextField() throw())
- throw uno::RuntimeException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Cannot query XPropertySetInfo")),
- uno::Reference< uno::XInterface >
- ( static_cast< XAccessible* > (this) ) ); // disambiguate hierarchy
-#else
::vos::OGuard aGuard( Application::GetSolarMutex() );
SvxAccessibleTextAdapter& rCacheTF = GetTextForwarder();
@@ -984,7 +978,6 @@ namespace accessibility
}
return aOutSequence;
-#endif
}
awt::Rectangle SAL_CALL AccessibleEditableTextPara::getCharacterBounds( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException)