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/source/ui/dlg/PhotoAlbumDialog.cxx | |
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/source/ui/dlg/PhotoAlbumDialog.cxx')
-rw-r--r-- | sd/source/ui/dlg/PhotoAlbumDialog.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index 4a6cc71cb0e0..51f1b6fa5895 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -33,6 +33,7 @@ #include <sdresid.hxx> #include <drawdoc.hxx> #include <sdpage.hxx> +#include <unomodel.hxx> namespace sd { @@ -92,9 +93,9 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, CreateHdl, weld::Button&, void) } else { - Reference< drawing::XDrawPagesSupplier > xDPS( m_pDoc->getUnoModel(), uno::UNO_QUERY ); + rtl::Reference< SdXImpressDocument > xDPS( m_pDoc->getUnoModel() ); Reference< drawing::XDrawPages > xDrawPages = xDPS->getDrawPages(); - Reference< lang::XMultiServiceFactory > xShapeFactory( m_pDoc->getUnoModel(), uno::UNO_QUERY ); + rtl::Reference< SdXImpressDocument > xShapeFactory( m_pDoc->getUnoModel() ); Reference< XComponentContext > xContext(::comphelper::getProcessComponentContext()); Reference< graphic::XGraphicProvider> xProvider(graphic::GraphicProvider::create(xContext)); |