From ddf32e741ae697ca0fd0dc6c32ef521c2c579183 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 14 Jan 2015 12:13:48 +0100 Subject: -Werror,-Wunused-variable Change-Id: I4044722f59aec3ed06cc77f9a29b01f5f1ab7d68 --- vcl/source/control/field.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 25f3e53aae01..fc83af05b12f 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); -- cgit