diff options
Diffstat (limited to 'sw/source/ui/shells/basesh.cxx')
-rw-r--r-- | sw/source/ui/shells/basesh.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx index c10d28f79cf9..0dd7b7f1d891 100644 --- a/sw/source/ui/shells/basesh.cxx +++ b/sw/source/ui/shells/basesh.cxx @@ -1586,9 +1586,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet ) if(nWhich != FN_TOOL_ANCHOR) { sal_uInt16 nHtmlMode = ::GetHtmlMode(GetView().GetDocShell()); - if( ( nWhich == FN_TOOL_ANCHOR_PAGE && - ((HTMLMODE_ON & nHtmlMode) && (0 == (nHtmlMode & HTMLMODE_SOME_ABS_POS)))) || - ( nWhich == FN_TOOL_ANCHOR_FRAME && !rSh.IsFlyInFly() ) ) + if( nWhich == FN_TOOL_ANCHOR_FRAME && !rSh.IsFlyInFly() ) rSet.DisableItem(nWhich); else rSet.Put(SfxBoolItem(nWhich, bSet)); |