summaryrefslogtreecommitdiff
path: root/svx/inc/galleryfilestorage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-04-01 20:52:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-02 07:53:43 +0200
commit25b642fdd87da4d5ed556600d0eb69d72865f666 (patch)
treedbf08943be588a9e9e09f7aaa2f03d057649c14c /svx/inc/galleryfilestorage.hxx
parent2ad14abcf790002ac6fe09afbc5a2cae46f62085 (diff)
simplify SotTempStream and lifetime
It is really just an SvStream instance, and the lifetime does not need reference counting Change-Id: Idb5ffd96f852aae0dc1a94cddc0a83fbcdf974ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165655 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc/galleryfilestorage.hxx')
-rw-r--r--svx/inc/galleryfilestorage.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/inc/galleryfilestorage.hxx b/svx/inc/galleryfilestorage.hxx
index f913b0574fc1..42c40beef667 100644
--- a/svx/inc/galleryfilestorage.hxx
+++ b/svx/inc/galleryfilestorage.hxx
@@ -81,10 +81,8 @@ public:
bool readModel(const GalleryObject* pObject, SdrModel& rModel);
SgaObjectSvDraw insertModel(const FmFormModel& rModel, const INetURLObject& rUserURL);
- bool readModelStream(const GalleryObject* pObject,
- tools::SvRef<SotTempStream> const& rxModelStream);
- SgaObjectSvDraw insertModelStream(const tools::SvRef<SotTempStream>& rxModelStream,
- const INetURLObject& rUserURL);
+ bool readModelStream(const GalleryObject* pObject, SvStream& rModelStream);
+ SgaObjectSvDraw insertModelStream(SvStream& rModelStream, const INetURLObject& rUserURL);
INetURLObject implCreateUniqueURL(SgaObjKind eObjKind, const INetURLObject& rUserURL,
ConvertDataFormat nFormat = ConvertDataFormat::Unknown);