summaryrefslogtreecommitdiff
path: root/sw/source/ui/lingu/olmenu.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-13 10:54:12 +0200
committerNoel Grandin <noel@peralex.com>2013-12-17 11:49:04 +0200
commit909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch)
tree2d17bbce7f9fa40fca140696648ec136a12f63d1 /sw/source/ui/lingu/olmenu.cxx
parent08fe82e59cbc598d2683d72877653316c1e41962 (diff)
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'sw/source/ui/lingu/olmenu.cxx')
-rw-r--r--sw/source/ui/lingu/olmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx
index 528d45f11178..693a8e58f5ca 100644
--- a/sw/source/ui/lingu/olmenu.cxx
+++ b/sw/source/ui/lingu/olmenu.cxx
@@ -330,7 +330,7 @@ SwSpellPopup::SwSpellPopup(
}
}
- OUString aIgnoreSelection( OUString( SW_RES( STR_IGNORE_SELECTION ) ) );
+ OUString aIgnoreSelection( SW_RES( STR_IGNORE_SELECTION ) );
OUString aSpellingAndGrammar = RetrieveLabelFromCommand( ".uno:SpellingAndGrammarDialog" );
SetItemText( MN_SPELLING_DLG, aSpellingAndGrammar );
sal_uInt16 nItemPos = GetItemPos( MN_IGNORE_WORD );