diff options
author | David Tardon <dtardon@redhat.com> | 2014-10-28 19:02:37 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-10-28 19:02:37 +0100 |
commit | ddc7f5dda51b100e69a8e7d86c0f8144ed3d8ea5 (patch) | |
tree | dd489e3b9d6c3c4bfff1f9e1d8366f0a587c0137 /tools | |
parent | 2ce0aededea43231d91a0955fc0676120dcc4f13 (diff) |
fix build on android-arm tinderbox
Change-Id: If528f3cbaab66ceec07e35b479b4fe2ed55aa3c7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/fract.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 45d54a4ea3ff..3d35b4e3de42 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -41,7 +41,7 @@ Fraction::Fraction( long nNum, long nDen ) { if ( nDen == 0 ) { valid = false; - SAL_WARN( "tools.fraction", "'Fraction(" + std::to_string(nNum) + ",0)' invalid fraction created" ); + SAL_WARN( "tools.fraction", "'Fraction(" << nNum << ",0)' invalid fraction created" ); return; } value.assign( nNum, nDen); @@ -57,7 +57,7 @@ Fraction::Fraction( double dVal ) valid = true; } catch(const boost::bad_rational& unused) { valid = false; - SAL_WARN( "tools.fraction", "'Fraction(" + std::to_string(dVal) + ")' invalid fraction created" ); + SAL_WARN( "tools.fraction", "'Fraction(" << dVal << ")' invalid fraction created" ); } } |