summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 1cac7b351ea8..838809530cd6 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -886,7 +886,7 @@ void Window::SetZoomedPointFont( const Font& rFont )
// Use another font if the representation is to be scaled,
// and the actual font is not scalable
FontMetric aMetric = GetFontMetric();
- long nFontDiff = Abs( GetFont().GetSize().Height()-aMetric.GetSize().Height() );
+ long nFontDiff = std::abs( GetFont().GetSize().Height()-aMetric.GetSize().Height() );
if ( (aMetric.GetType() == TYPE_RASTER) && (nFontDiff >= 2) )
{
sal_uInt16 nType;