Kaydet (Commit) ddc7f5dd authored tarafından David Tardon's avatar David Tardon

fix build on android-arm tinderbox

Change-Id: If528f3cbaab66ceec07e35b479b4fe2ed55aa3c7
üst 2ce0aede
......@@ -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" );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment