diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-11-24 18:50:05 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-11-29 10:16:57 +0100 |
commit | e2ae221f6164ba240da7d6470fd52c1982fa07d2 (patch) | |
tree | b8d37d7566c0bc4435c6c02e03d632912843ee0e /sd/source/ui/unoidl/unomodel.cxx | |
parent | 5de24bea47e7ae971a53b51ee7d1b85d134bbe52 (diff) |
lokdialog: Move the painting down to Window, and enable Calc and Impress.
Tested with .uno:FormatCellDialog in Calc, Impress not tested.
Change-Id: I6d911c29616988db0625be9e2a63cf2172c69ee8
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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<vcl::Window> 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); |