vcl/source/control/field.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7ac1522d9edf6ac58856cdb5f8ff548dedd27a63 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 18 21:42:31 2014 +0100 Fix MSVC build Change-Id: I14f9b8e7b7e2cdcbdc60de17471b1a3a381d83f0 diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index bd03aad..18d4d88 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits