summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 10:32:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:48:56 +0100
commit05a47ac4a577088ff642a3f0909c523d25225efb (patch)
tree3fcb885a2d733e78835bb856662f96fcecbcf036
parent9fcee377828407a6c97bf4db45861537ab433544 (diff)
coverity#1242841 Unused value
Change-Id: I80e92af60fb1a5f6c761d9211e07566618cf9668
-rw-r--r--sw/source/uibase/shells/annotsh.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 65c25cc0fa3b..319e1ae06817 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -1196,7 +1196,6 @@ void SwAnnotationShell::ExecLingu(SfxRequest &rReq)
aOldSelection = pOLV->GetSelection();
if (!pOLV->GetEditView().HasSelection())
{
- bRestoreSelection = true;
pOLV->GetEditView().SelectCurrentWord();
}