diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 21:42:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 21:42:31 +0100 |
commit | 7ac1522d9edf6ac58856cdb5f8ff548dedd27a63 (patch) | |
tree | 211dbf5f0732a47e0afd44f114627d5564135030 /vcl | |
parent | 5a4c549d3252ef371656cbb5dedeb8c9c5c60994 (diff) |
Fix MSVC build
Change-Id: I14f9b8e7b7e2cdcbdc60de17471b1a3a381d83f0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/field.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |