[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 14 14:59:28 UTC 2018
sw/source/uibase/docvw/edtwin.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c6bf755eff1f74d024a8687b52a9cadf88a27576
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Fri Sep 14 16:58:10 2018 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Sep 14 16:58:10 2018 +0200
Fix build
Followup to b6310c1e403b80e2c6b87f2cfc1ab9132ecd90e0
Change-Id: I83b52168a6a05f9bcc05e10bc75b748010295368
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index cd8347f707ef..74226435241b 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2323,9 +2323,9 @@ KEYINPUT_CHECKTABLE_INSDEL:
if (rSh.HasReadonlySel() && rKeyCode.GetFunction() == KeyFuncType::PASTE)
{
- auto xInfo(std::make_shared<weld::GenericDialogController>(GetFrameWeld(), "modules/swriter/ui/inforeadonlydialog.ui", "InfoReadonlyDialog"));
- weld::DialogController::runAsync(xInfo, [](int) {});
- eKeyState = SwKeyState::End;
+ ScopedVclPtrInstance<MessageDialog>(this, "InfoReadonlyDialog",
+ "modules/swriter/ui/inforeadonlydialog.ui")->Execute();
+ eKeyState = KS_End;
}
else if( m_rView.KeyInput( aKeyEvent ) )
{
More information about the Libreoffice-commits
mailing list