summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-12-05 16:15:18 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-12-06 12:25:44 +0100
commitdb5466887810f428f2df4bfc101afe76a928222a (patch)
tree309e81da08f5613df93c2dfb98b3276fdcf51878 /sw
parente5ab9e7c12ad7878d2754f5b213c8cfca402b850 (diff)
Fix indentation
Change-Id: I53a967ab6ad5a6ed89dc807120dd1db540b26a92 Reviewed-on: https://gerrit.libreoffice.org/45894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewstat.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx
index e5387497133d..13a69b257523 100644
--- a/sw/source/uibase/uiview/viewstat.cxx
+++ b/sw/source/uibase/uiview/viewstat.cxx
@@ -77,31 +77,31 @@ void SwView::GetState(SfxItemSet &rSet)
{
switch(nWhich)
{
- case FN_NAV_ELEMENT:
- // used to update all instances of this control
- rSet.InvalidateItem( nWhich );
- break;
- case FN_EDIT_LINK_DLG:
- if( m_pWrtShell->GetLinkManager().GetLinks().empty() )
- rSet.DisableItem(nWhich);
- else if( m_pWrtShell->IsSelFrameMode() &&
- m_pWrtShell->IsSelObjProtected(FlyProtectFlags::Content) != FlyProtectFlags::NONE)
- {
- rSet.DisableItem(nWhich);
- }
+ case FN_NAV_ELEMENT:
+ // used to update all instances of this control
+ rSet.InvalidateItem( nWhich );
break;
+ case FN_EDIT_LINK_DLG:
+ if( m_pWrtShell->GetLinkManager().GetLinks().empty() )
+ rSet.DisableItem(nWhich);
+ else if( m_pWrtShell->IsSelFrameMode() &&
+ m_pWrtShell->IsSelObjProtected(FlyProtectFlags::Content) != FlyProtectFlags::NONE)
+ {
+ rSet.DisableItem(nWhich);
+ }
+ break;
- case SID_DRAWTBX_LINES:
- if ( bWeb )
- rSet.DisableItem(nWhich);
- break;
+ case SID_DRAWTBX_LINES:
+ if ( bWeb )
+ rSet.DisableItem(nWhich);
+ break;
- case SID_INSERT_GRAPHIC:
- if( m_pWrtShell->CursorInsideInputField() )
- {
- rSet.DisableItem(nWhich);
- }
- break;
+ case SID_INSERT_GRAPHIC:
+ if( m_pWrtShell->CursorInsideInputField() )
+ {
+ rSet.DisableItem(nWhich);
+ }
+ break;
case FN_INSERT_CAPTION:
{