diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-16 16:13:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-17 07:28:06 +0200 |
commit | 032cf092f2476ad7e0009274073b467d36c6bd47 (patch) | |
tree | 06dd4839ddf2f474fd624ffe340f11a77ffae412 /sd/inc/drawdoc.hxx | |
parent | 508d1dd7ac4ff2c2c8d0e43343f41e2b4f0b55c5 (diff) |
use more concrete UNO types in sd
Change-Id: I04578521e86759af7fdd6d2d19d8313ed8bc1bf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173457
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sd/inc/drawdoc.hxx')
-rw-r--r-- | sd/inc/drawdoc.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index 6491cd56f62a..50f88cc93a3d 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -62,6 +62,7 @@ class SdrPage; class SdrTextObj; class SfxItemPool; class Size; +class SdXImpressDocument; namespace sd { @@ -231,6 +232,9 @@ public: SAL_DLLPRIVATE rtl::Reference<SdPage> AllocSdPage(bool bMasterPage); SAL_DLLPRIVATE virtual rtl::Reference<SdrPage> AllocPage(bool bMasterPage) override; //forwards to AllocSdPage + // Override SfxBaseModel::getUnoModel and return a more concrete type + SdXImpressDocument* getUnoModel(); + SAL_DLLPRIVATE virtual bool IsReadOnly() const override; SAL_DLLPRIVATE virtual void SetChanged(bool bFlag = true) override; |