summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-14 12:13:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-14 12:13:48 +0100
commitddf32e741ae697ca0fd0dc6c32ef521c2c579183 (patch)
tree461724fec570005e7893383e4e13cc8b6ea86cbd /vcl/source/control
parent9ab76447cd7e1c61bc284c810734227438aa13c7 (diff)
-Werror,-Wunused-variable
Change-Id: I4044722f59aec3ed06cc77f9a29b01f5f1ab7d68
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/field.cxx2
1 files changed, 0 insertions, 2 deletions
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);