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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/swruler.cxx b/sw/source/uibase/misc/swruler.cxx
index c2be3f05de94..83d49b785c2e 100644
--- a/sw/source/uibase/misc/swruler.cxx
+++ b/sw/source/uibase/misc/swruler.cxx
@@ -261,7 +261,7 @@ void SwCommentRuler::UpdateCommentHelpText()
nTooltipResId = STR_HIDE_COMMENTS;
else
nTooltipResId = STR_SHOW_COMMENTS;
- SetQuickHelpText( OUString( SwResId( nTooltipResId ) ) );
+ SetQuickHelpText( SwResId( nTooltipResId ) );
}
// TODO Make Ruler return its central rectangle instead of margins.