From 7ac1522d9edf6ac58856cdb5f8ff548dedd27a63 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Dec 2014 21:42:31 +0100 Subject: Fix MSVC build Change-Id: I14f9b8e7b7e2cdcbdc60de17471b1a3a381d83f0 --- vcl/source/control/field.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index bd03aadfd947..18d4d881e1a1 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -176,7 +176,7 @@ static bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue, if ( aStr1.isEmpty() ) aStr1 = "0"; if ( bNegative ) - aStr1 = "-" + aStr1; + aStr1.insert(0, "-"); // prune and round fraction bool bRound = false; -- cgit