summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-10-05 16:11:45 +0200
committerOliver Specht <oliver.specht@cib.de>2015-10-06 05:44:21 +0000
commitcd5906358bed831c3811bcb658eeaf98d5dba9b9 (patch)
tree6ce62dd19bc3de0eff60488f58a06b0cba71303b /sw/source/uibase/shells
parent4d4bc508f03db9fa0ddae0c6aaa52e586cbe1172 (diff)
tdf#93720: Interactive frame insertion is disabled if table is selected
Current implementation does not support interactive frame insertion that moves the table into the frame Change-Id: I57a69f680f1218bd3014da494d41542ad0b72dd1 Reviewed-on: https://gerrit.libreoffice.org/19157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/textsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index c7b04909b90d..49a7df724184 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -727,6 +727,7 @@ void SwTextShell::StateInsert( SfxItemSet &rSet )
case FN_INSERT_FRAME_INTERACT:
{
if( GetShell().IsSelFrmMode()
+ || rSh.IsTableMode()
|| GetShell().CrsrInsideInputField()
|| bCrsrInHidden )
rSet.DisableItem(nWhich);