summaryrefslogtreecommitdiff
path: root/include/tools/inetmsg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-12-30 09:49:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-12-30 13:45:53 +0100
commit7de4661827c5bed7beaf2c286242e48cfe4154e8 (patch)
tree071e77672649bd2b59f0aa4aa4ed5ab7d9cc80f8 /include/tools/inetmsg.hxx
parent39d0ab03fd064ff0582d98d5c52a0d3747e73999 (diff)
no need to use SvLockBytes in forms
Change-Id: Ide586997d504e0fbdb72aa1db77c49ba3d6007c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161437 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/inetmsg.hxx')
-rw-r--r--include/tools/inetmsg.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx
index 8617b0b91bf1..8171da95d1af 100644
--- a/include/tools/inetmsg.hxx
+++ b/include/tools/inetmsg.hxx
@@ -77,7 +77,7 @@ class SAL_WARN_UNUSED UNLESS_MERGELIBS(TOOLS_DLLPUBLIC) INetMIMEMessage
::std::vector< std::unique_ptr<INetMessageHeader> >
m_aHeaderList;
- SvLockBytesRef m_xDocLB;
+ std::unique_ptr<SvStream> m_xDocLB;
::std::map<InetMessageMime, sal_uInt32> m_nMIMEIndex;
INetMIMEMessage* pParent;
@@ -139,8 +139,8 @@ public:
}
}
- SvLockBytes* GetDocumentLB() const { return m_xDocLB.get(); }
- void SetDocumentLB (SvLockBytes *pDocLB) { m_xDocLB = pDocLB; }
+ SvStream* GetDocumentLB() const { return m_xDocLB.get(); }
+ void SetDocumentLB (std::unique_ptr<SvStream> pDocLB) { m_xDocLB = std::move(pDocLB); }
static bool ParseDateField (
std::u16string_view rDateField, DateTime& rDateTime);