summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/accessibility/svxrectctaccessiblecontext.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index ab5c4bb8d9c2..a15410e71dbc 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -300,10 +300,8 @@ Reference< XAccessible > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleChil
if( !xChild.is() )
{
const ChildIndexToPointData* p = IndexToPoint( nIndex, mbAngleMode );
- UniString tmp = SVX_RESSTR( p->nResIdName );
- ::rtl::OUString aName( tmp );
- tmp = SVX_RESSTR( p->nResIdDescr );
- ::rtl::OUString aDescr( tmp );
+ ::rtl::OUString aName(SVX_RESSTR(p->nResIdName));
+ ::rtl::OUString aDescr(SVX_RESSTR(p->nResIdDescr));
Rectangle aFocusRect( mpRepr->CalculateFocusRectangle( p->ePoint ) );