summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-08-27 18:34:02 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-09-04 07:45:44 -0500
commit9633a6592c9be5675a8636baed10fd3d1e0f70eb (patch)
tree7c40331efd47263059048bdd5975a28a8262a636 /svx
parentd431986bd49081581e86444af124d1d2ce90a407 (diff)
fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode
Conflicts: sw/source/core/uibase/app/docsh.cxx Change-Id: I009b0e1a155c298bd7f461547125df4ba76805d9 Reviewed-on: https://gerrit.libreoffice.org/11232 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmview.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 702fd00ef0c1..c25657768961 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -130,9 +130,6 @@ void FmFormView::Init()
}
}
- if( pObjShell && pObjShell->IsReadOnly() )
- bInitDesignMode = false;
-
// dieses wird in der Shell vorgenommen
// bDesignMode = !bInitDesignMode; // erzwingt, dass SetDesignMode ausgefuehrt wird
SetDesignMode( bInitDesignMode );