summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2016-02-18 16:21:01 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-02-19 11:52:53 +0000
commit9829d866468cf4f1b69fc74131fb3ad711645289 (patch)
tree77d69c4143edc7a6085cd900d46d2d7888ec618b /sw/source
parent75da70ccbf7946d3c8de2572d98c2f9cf534b751 (diff)
tdf#89646 Implement "uno:LineToolbox" command into writer.
Change-Id: Ifd50d16a87f8b9197f80a3b1c9de1803adfd462f Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/22479 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/uiview/viewstat.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx
index 77dfe152560b..884f0477a4b0 100644
--- a/sw/source/uibase/uiview/viewstat.cxx
+++ b/sw/source/uibase/uiview/viewstat.cxx
@@ -86,6 +86,11 @@ void SwView::GetState(SfxItemSet &rSet)
}
break;
+ case SID_DRAWTBX_LINES:
+ if ( bWeb )
+ rSet.DisableItem(nWhich);
+ break;
+
case SID_INSERT_GRAPHIC:
if( m_pWrtShell->CursorInsideInputField() )
{