summaryrefslogtreecommitdiff
path: root/canvas/source/cairo/cairo_canvasfont.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 09:29:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-21 15:34:16 +0200
commit387a88fa252990ded26ee7ea6b89b11be7616986 (patch)
tree870415232202aec0c314b7626b5ad01ddb6083b0 /canvas/source/cairo/cairo_canvasfont.cxx
parent4bea7a17056770c83006048f9fd3fa252958718b (diff)
use tools::Long in basegfx..chart2
Change-Id: Ide4014348d51f0b5f59e1e91b8d41c7748853254 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104608 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/cairo/cairo_canvasfont.cxx')
-rw-r--r--canvas/source/cairo/cairo_canvasfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index 6ba15411c9aa..cca052d167e0 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -78,7 +78,7 @@ namespace cairocanvas
if( !::basegfx::fTools::equalZero( fDividend) )
fStretch /= fDividend;
- const long nNewWidth = ::basegfx::fround( aSize.Width() * fStretch );
+ const tools::Long nNewWidth = ::basegfx::fround( aSize.Width() * fStretch );
maFont->SetAverageFontWidth( nNewWidth );