diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-27 22:02:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-27 22:37:37 +0100 |
commit | 919f7104b51b156db34787eb7bd5f16e4ecfb633 (patch) | |
tree | 2186a07d0bb94bb488f964a4cfd413a1150b622a /svx/source | |
parent | 887d7945addeb823e0d3f783609c4e79d92ad4a7 (diff) |
drop intermediate temporary UniStrings
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/svxrectctaccessiblecontext.cxx | 6 |
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 ) ); |