[Libreoffice-commits] core.git: sal/qa
Andrzej J.R. Hunt
andrzej at ahunt.org
Thu Sep 12 12:10:57 PDT 2013
sal/qa/rtl/oustring/rtl_OUString2.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 0992fbe72b8bf5e228d236f42ae64a27fe493f6c
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date: Thu Sep 12 20:09:47 2013 +0100
WaE: unused variable suToken, aEmpty, aEmpty2.
Change-Id: I2eaa32e0ec09b239e03d3efa776f5b47c2fb5c6d
diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index fb86b08..4878540 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -859,7 +859,7 @@ public:
sal_Int32 nIndex = 0;
do
{
- rtl::OUString suToken = suTokenStr.getToken( 0, ';', nIndex );
+ suTokenStr.getToken( 0, ';', nIndex );
}
while ( nIndex >= 0 );
printf("Index %" SAL_PRIdINT32 "\n", nIndex);
@@ -1000,8 +1000,8 @@ public:
void intern()
{
// The empty string is 'static' a special case ...
- rtl::OUString aEmpty = rtl::OUString().intern();
- rtl::OUString aEmpty2 = rtl::OUString::intern( "",strlen(""),RTL_TEXTENCODING_ASCII_US );
+ rtl::OUString().intern();
+ rtl::OUString::intern( "",strlen(""),RTL_TEXTENCODING_ASCII_US );
::rtl::OUString aFoo( "foo" );
::rtl::OUString aFooIntern = aFoo.intern();
More information about the Libreoffice-commits
mailing list