summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/AnnotationMenuButton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/AnnotationMenuButton.cxx')
-rw-r--r--sw/source/uibase/docvw/AnnotationMenuButton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/AnnotationMenuButton.cxx b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
index 3a207b03e865..876531c46cf2 100644
--- a/sw/source/uibase/docvw/AnnotationMenuButton.cxx
+++ b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
@@ -162,7 +162,7 @@ void AnnotationMenuButton::Paint(vcl::RenderContext& rRenderContext, const Recta
vcl::Font aFont(aOldFont);
Color aCol(COL_BLACK);
aFont.SetColor(aCol);
- aFont.SetHeight(200);
+ aFont.SetFontHeight(200);
aFont.SetWeight(WEIGHT_MEDIUM);
rRenderContext.SetFont(aFont);
rRenderContext.DrawText(aRect, OUString("Edit Note"), DrawTextFlags::Center);