summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/swruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/swruler.cxx')
-rw-r--r--sw/source/uibase/misc/swruler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/swruler.cxx b/sw/source/uibase/misc/swruler.cxx
index 1a1c1ef5dee9..c2be3f05de94 100644
--- a/sw/source/uibase/misc/swruler.cxx
+++ b/sw/source/uibase/misc/swruler.cxx
@@ -128,7 +128,7 @@ void SwCommentRuler::DrawCommentControl(vcl::RenderContext& rRenderContext)
maVirDev->DrawRect( tools::Rectangle( Point(), aControlRect.GetSize() ) );
// Label and arrow tip
- OUString aLabel( SW_RESSTR ( STR_COMMENTS_LABEL ) );
+ OUString aLabel( SwResId ( STR_COMMENTS_LABEL ) );
// Get label and arrow coordinates
Point aLabelPos;
Point aArrowPos;
@@ -261,7 +261,7 @@ void SwCommentRuler::UpdateCommentHelpText()
nTooltipResId = STR_HIDE_COMMENTS;
else
nTooltipResId = STR_SHOW_COMMENTS;
- SetQuickHelpText( OUString( SW_RESSTR( nTooltipResId ) ) );
+ SetQuickHelpText( OUString( SwResId( nTooltipResId ) ) );
}
// TODO Make Ruler return its central rectangle instead of margins.