summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 11:05:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:49:02 +0100
commit11f2f713843f2ade0355970b2d7f3ba94e49ea6c (patch)
tree46f63fe25a72fc8253bf8f05134fe3e8482b93ad /sw
parent1914fd354f3da110d43debdd2aaf4fa31940a147 (diff)
coverity#1242750 Unused value
Change-Id: I057434339e6aee710ba9fa7b6a2cc6a51a5206cf
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/drwtxtex.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx
index 6d040ebe94f2..c3059ebdc172 100644
--- a/sw/source/uibase/shells/drwtxtex.cxx
+++ b/sw/source/uibase/shells/drwtxtex.cxx
@@ -128,7 +128,6 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
aOldSelection = pOLV->GetSelection();
if (!pOLV->GetEditView().HasSelection())
{
- bRestoreSelection = true;
pOLV->GetEditView().SelectCurrentWord();
}