From e2ae221f6164ba240da7d6470fd52c1982fa07d2 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 24 Nov 2017 18:50:05 +0100 Subject: lokdialog: Move the painting down to Window, and enable Calc and Impress. Tested with .uno:FormatCellDialog in Calc, Impress not tested. Change-Id: I6d911c29616988db0625be9e2a63cf2172c69ee8 --- sd/source/ui/unoidl/unomodel.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sd/source/ui/unoidl/unomodel.cxx') diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 2699b62bb97f..8af06f170e54 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2669,6 +2669,12 @@ Pointer SdXImpressDocument::getPointer() return pWindow->GetPointer(); } +VclPtr SdXImpressDocument::findWindow(vcl::LOKWindowId nLOKWindowId) const +{ + SfxViewShell* pViewShell = SfxViewShell::Current(); + return pViewShell->GetOpenedDlg(nLOKWindowId); +} + uno::Reference< i18n::XForbiddenCharacters > SdXImpressDocument::getForbiddenCharsTable() { uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbiddenCharacters); -- cgit