summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print/text_gfx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/print/text_gfx.cxx')
-rw-r--r--vcl/unx/generic/print/text_gfx.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/print/text_gfx.cxx b/vcl/unx/generic/print/text_gfx.cxx
index f87fe2176f20..d847004ed5ad 100644
--- a/vcl/unx/generic/print/text_gfx.cxx
+++ b/vcl/unx/generic/print/text_gfx.cxx
@@ -90,7 +90,7 @@ void PrinterGfx::DrawGlyph(const Point& rPoint,
PSGSave ();
PSTranslate (rPoint);
PSRotate (nCurrentTextAngle);
- mnTextAngle = Degree10(0);
+ mnTextAngle = 0_deg10;
aPoint = Point( 0, 0 );
}
@@ -114,7 +114,7 @@ void PrinterGfx::DrawGlyph(const Point& rPoint,
maVirtualStatus.mnTextHeight = nTextWidth;
if( aPoint.X() || aPoint.Y() )
PSTranslate( aPoint );
- PSRotate (Degree10(900));
+ PSRotate (900_deg10);
// draw the rotated glyph
drawGlyph(aRotPoint, rGlyph.glyphId());