summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/srcview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/srcview.cxx')
-rw-r--r--sw/source/uibase/uiview/srcview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index e7b2059a1ec0..a30aa3a632d6 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -119,7 +119,7 @@ static void lcl_PrintHeader( vcl::RenderContext &rOutDev, sal_Int32 nPages, sal_
vcl::Font aFont( aOldFont );
aFont.SetWeight( WEIGHT_BOLD );
- aFont.SetAlignment( ALIGN_BOTTOM );
+ aFont.SetAlignment( TextAlign::Bottom );
rOutDev.SetFont( aFont );
tools::Long nFontHeight = rOutDev.GetTextHeight();