diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-12 09:22:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-12 09:22:23 +0100 |
commit | 2dd0712a125a8dcdb5510bc36f06d103d6abdf58 (patch) | |
tree | 3f29d3ab180b64e49bc16d4d2a94dea182eae695 /framework/source/layoutmanager | |
parent | 5551d2776dbfa921d5520e8b09bf5caf4649a545 (diff) |
loplugin: unused Strings
Change-Id: Ie9c888a48716e4bfd24ae78eef5f6e4a54dd1810
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/helpers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/layoutmanager/helpers.cxx b/framework/source/layoutmanager/helpers.cxx index 064407a8bb90..1f9a03742686 100644 --- a/framework/source/layoutmanager/helpers.cxx +++ b/framework/source/layoutmanager/helpers.cxx @@ -218,7 +218,7 @@ WindowAlign ImplConvertAlignment( sal_Int16 aAlignment ) { sal_Int32 nIndex = 0; ::rtl::OUString aPathPart = aResourceURL.copy( aUIResourceURL.getLength() ); - ::rtl::OUString aUIResource = aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); + aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); return aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); } @@ -233,7 +233,7 @@ void parseResourceURL( const rtl::OUString& aResourceURL, rtl::OUString& aElemen { sal_Int32 nIndex = 0; ::rtl::OUString aPathPart = aResourceURL.copy( aUIResourceURL.getLength() ); - ::rtl::OUString aUIResource = aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); + aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); aElementType = aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); aElementName = aPathPart.getToken( 0, (sal_Unicode)'/', nIndex ); |