summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-08-27 13:15:30 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-08-27 13:15:30 +0300
commit360c3e912a264b8b2219a28a64856b5e867adb10 (patch)
tree90c4575ab9f3f3b773497010d489546e37e41d9f
parent9d844ce3f8e411bfb4237372b1a6d4aec21a0a65 (diff)
WaE: unused variable nHtmlMode
Change-Id: I3c949e9f536b81bf405cf03992e2a9bbe0a2b0d4
-rw-r--r--sw/source/ui/shells/basesh.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx
index 0dd7b7f1d891..099e96fd86bb 100644
--- a/sw/source/ui/shells/basesh.cxx
+++ b/sw/source/ui/shells/basesh.cxx
@@ -1585,7 +1585,6 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
(eSet == FLY_AS_CHAR));
if(nWhich != FN_TOOL_ANCHOR)
{
- sal_uInt16 nHtmlMode = ::GetHtmlMode(GetView().GetDocShell());
if( nWhich == FN_TOOL_ANCHOR_FRAME && !rSh.IsFlyInFly() )
rSet.DisableItem(nWhich);
else