diff options
Diffstat (limited to 'include/svx/galleryobjectcollection.hxx')
-rw-r--r-- | include/svx/galleryobjectcollection.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svx/galleryobjectcollection.hxx b/include/svx/galleryobjectcollection.hxx index 07a952b59f54..ec27761cc07e 100644 --- a/include/svx/galleryobjectcollection.hxx +++ b/include/svx/galleryobjectcollection.hxx @@ -21,16 +21,16 @@ #include <svx/svxdllapi.h> #include <svx/galmisc.hxx> -#include <svx/galleryobjectstorage.hxx> #include <vcl/bitmapex.hxx> #include <tools/urlobj.hxx> #include <memory> +#include <optional> #include <vector> struct GalleryObject { - std::unique_ptr<GalleryObjectStorage> m_pGalleryObjectStorage; + std::optional<INetURLObject> m_oStorageUrl; sal_uInt32 nOffset; SgaObjKind eObjKind; bool mbDelete; @@ -40,8 +40,6 @@ struct GalleryObject Size maPreparedSize; OUString maTitle; OUString maPath; - - const INetURLObject& getURL() const { return m_pGalleryObjectStorage->getURL(); } }; class SVXCORE_DLLPUBLIC GalleryObjectCollection |