[Libreoffice-commits] core.git: tools/source
David Tardon
dtardon at redhat.com
Tue Oct 28 11:03:24 PDT 2014
tools/source/generic/fract.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ddc7f5dda51b100e69a8e7d86c0f8144ed3d8ea5
Author: David Tardon <dtardon at redhat.com>
Date: Tue Oct 28 19:02:37 2014 +0100
fix build on android-arm tinderbox
Change-Id: If528f3cbaab66ceec07e35b479b4fe2ed55aa3c7
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 45d54a4..3d35b4e 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" );
}
}
More information about the Libreoffice-commits
mailing list