[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Wed Jan 14 03:14:19 PST 2015
vcl/source/control/field.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit ddf32e741ae697ca0fd0dc6c32ef521c2c579183
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jan 14 12:13:48 2015 +0100
-Werror,-Wunused-variable
Change-Id: I4044722f59aec3ed06cc77f9a29b01f5f1ab7d68
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 25f3e53..fc83af0 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -90,7 +90,6 @@ static bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue,
bool bCurrency = false )
{
OUString aStr = rStr;
- OUString fStr;
OUStringBuffer aStr1, aStr2, aStrFrac, aStrNum, aStrDenom;
bool bNegative = false;
bool bFrac = false;
@@ -114,7 +113,6 @@ static bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue,
// parse fractional strings
if (nFracDivPos > 0)
{
- OString o = OUStringToOString(aStr, RTL_TEXTENCODING_ASCII_US );
bFrac = true;
nFracNumPos = aStr.lastIndexOf(' ', nFracDivPos);
aStr1.append(aStr.getStr(), nFracNumPos);
More information about the Libreoffice-commits
mailing list