summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-06 16:19:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-08 13:03:13 +0100
commit9897942db6c53dff3a85b880d9d2b955011ef189 (patch)
tree7f9aa54ea066c16d41b1cc92691a746557c01d85 /sw
parent1b66ced2367353ad42a14bfc76ca1853c4935d6a (diff)
Tweak hyphen as a togglable option after all
In a65f48f375d218b592ba7c17752f9ca86e14bd65 I wondered why hyphenation was set to be a toggle able feature when it opens a non-modal dialog. Looking closer, it *is* a toggable feature on/off for draw/impress, but this isn't the case for writer. Reverted it for calc too, although apparently not toggable there. Change-Id: If02568d58253c380e6d668a728f9c3ae6acf1128
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/viewstat.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/ui/uiview/viewstat.cxx b/sw/source/ui/uiview/viewstat.cxx
index 7938caab65cc..3aee693a3434 100644
--- a/sw/source/ui/uiview/viewstat.cxx
+++ b/sw/source/ui/uiview/viewstat.cxx
@@ -247,15 +247,6 @@ void SwView::GetState(SfxItemSet &rSet)
rSet.Put((const SvxLanguageItem&)
pWrtShell->GetDefault(RES_CHRATR_CTL_LANGUAGE), RES_CHRATR_CTL_LANGUAGE);
break;
- case FN_HYPHENATE_OPT_DLG:
- {
- sal_Bool bCheck = sal_False;
-
- if (pWrtShell->GetSelectionType() & (nsSelectionType::SEL_DRW_TXT|nsSelectionType::SEL_DRW))
- bCheck = IsDrawTextHyphenate();
- rSet.Put(SfxBoolItem(nWhich, bCheck));
- }
- break;
case FN_REDLINE_ON:
rSet.Put( SfxBoolItem( nWhich, GetDocShell()->IsChangeRecording() ) );
break;