diff options
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 9b0eecb2abc2..a05430a03036 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -3246,9 +3246,12 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) { case nsSelectionType::SEL_GRF: RstMBDownFlags(); - GetView().GetViewFrame()->GetBindings().Execute( - FN_FORMAT_GRAFIC_DLG, 0, 0, - SfxCallMode::RECORD|SfxCallMode::SLOT); + if (!rSh.isTiledRendering()) + { + GetView().GetViewFrame()->GetBindings().Execute( + FN_FORMAT_GRAFIC_DLG, 0, 0, + SfxCallMode::RECORD|SfxCallMode::SLOT); + } return; // double click on OLE object --> OLE-InPlace @@ -3262,8 +3265,12 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) case nsSelectionType::SEL_FRM: RstMBDownFlags(); - GetView().GetViewFrame()->GetBindings().Execute( - FN_FORMAT_FRAME_DLG, 0, 0, SfxCallMode::RECORD|SfxCallMode::SLOT); + if (!rSh.isTiledRendering()) + { + GetView().GetViewFrame()->GetBindings().Execute( + FN_FORMAT_FRAME_DLG, 0, 0, + SfxCallMode::RECORD|SfxCallMode::SLOT); + } return; case nsSelectionType::SEL_DRW: |