summaryrefslogtreecommitdiff
path: root/include/sot/storage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r--include/sot/storage.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 2a49b4a39475..39246b779a29 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -35,15 +35,9 @@ enum class SotClipboardFormatId : sal_uInt32;
class BaseStorageStream;
-class SOT_DLLPUBLIC SotTempStream final : virtual public SvRefBase, public SvStream
+namespace SotTempStream
{
-friend class SotStorage;
-
- virtual ~SotTempStream() override;
-public:
- SotTempStream(OUString const & rString, StreamMode = StreamMode::STD_READWRITE);
-
- void CopyTo(SotTempStream * pDestStm);
+ SOT_DLLPUBLIC std::unique_ptr<SvStream> Create(OUString const & rString, StreamMode = StreamMode::STD_READWRITE);
};
class SOT_DLLPUBLIC SotStorageStream final : virtual public SotObject, public SvStream