sw/source/uibase/uiview/viewstat.cxx | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-)
New commits: commit db5466887810f428f2df4bfc101afe76a928222a Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Date: Tue Dec 5 16:15:18 2017 +0100 Fix indentation Change-Id: I53a967ab6ad5a6ed89dc807120dd1db540b26a92 Reviewed-on: https://gerrit.libreoffice.org/45894 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> 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: { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits