[Libreoffice-commits] core.git: drawinglayer/source
Noel Grandin
noel at peralex.com
Thu Sep 18 03:01:00 PDT 2014
drawinglayer/source/primitive2d/textlayoutdevice.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d7510f79edd0b97839ebffc4c4284650452b4d00
Author: Noel Grandin <noel at peralex.com>
Date: Thu Sep 18 11:59:42 2014 +0200
use vcl::Font
Change-Id: Ia6ac8d9fca94c6140f5df39932d0cd62ba4c229e
diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
index c472d19..df8617c 100644
--- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx
+++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
@@ -461,7 +461,7 @@ namespace drawinglayer
// the height
if(rFont.GetSize().getWidth() > 0)
{
- Font aUnscaledFont(rFont);
+ vcl::Font aUnscaledFont(rFont);
aUnscaledFont.SetWidth(0);
const FontMetric aUnscaledFontMetric(Application::GetDefaultDevice()->GetFontMetric(aUnscaledFont));
More information about the Libreoffice-commits
mailing list