Kaydet (Commit) 2d5130eb authored tarafından Caolán McNamara's avatar Caolán McNamara

be a little more consistent stylewise

Change-Id: If1d822e0e6c87e792ff4a769a525e161505325c9
üst 188b0d89
...@@ -261,7 +261,7 @@ static void ImplCalcMapResolution( const MapMode& rMapMode, ...@@ -261,7 +261,7 @@ static void ImplCalcMapResolution( const MapMode& rMapMode,
} }
else else
{ {
if (!aScaleX.GetNumerator() || ! aScaleY.GetNumerator()) if (!aScaleX.GetNumerator() || !aScaleY.GetNumerator())
throw o3tl::divide_by_zero(); throw o3tl::divide_by_zero();
rMapRes.mfOffsetX *= aScaleX.GetDenominator(); rMapRes.mfOffsetX *= aScaleX.GetDenominator();
......
...@@ -745,7 +745,7 @@ void DomainMapperTableManager::endOfRowAction() ...@@ -745,7 +745,7 @@ void DomainMapperTableManager::endOfRowAction()
if (nWidthsBound) if (nWidthsBound)
{ {
if (nFullWidthRelative == 0) if (nFullWidthRelative == 0)
throw std::range_error("divide by zero"); throw o3tl::divide_by_zero();
::std::vector< sal_Int32 >::const_iterator aSpansIter = pCurrentSpans->begin( ); ::std::vector< sal_Int32 >::const_iterator aSpansIter = pCurrentSpans->begin( );
for( sal_uInt32 nBorder = 0; nBorder < nWidthsBound; ++nBorder ) for( sal_uInt32 nBorder = 0; nBorder < nWidthsBound; ++nBorder )
......
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