summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-07-05 10:55:16 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-07-05 10:55:16 +0200
commite85d5ae7ccf19269de77ee84c86990989511bbfe (patch)
tree6d910f87e71fb08f615a73edd9583a0f12d64aad /sw
parent77ebf16e2d67c1ba205582d54b125d4000a0d549 (diff)
cws tl81: warning-free code
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/lingu/olmenu.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx
index 1b00021943a8..0c7d7909ad7a 100644
--- a/sw/source/ui/lingu/olmenu.cxx
+++ b/sw/source/ui/lingu/olmenu.cxx
@@ -823,7 +823,6 @@ void SwSpellPopup::Execute( USHORT nId )
else if (MN_DICTIONARIES_START <= nId && nId <= MN_DICTIONARIES_END)
{
OUString aWord( xSpellAlt->getWord() );
- USHORT nDicIdx = nId - MN_DICTIONARIES_START;
DBG_ASSERT( nDicIdx < aDics.getLength(), "dictionary index out of range" );
PopupMenu *pMenu = GetPopupMenu(MN_ADD_TO_DIC);