diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-01 10:39:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-01 13:09:25 +0100 |
commit | 35975f9ea30e9ec8ac9276f90874ffe272001038 (patch) | |
tree | 188ea402a985f6f6915e793ffc1c5ca8780f0aca /sc/inc | |
parent | 2f9a6802793467823ce47a255591ff9e023a6dec (diff) |
pass SfxItemSet by const & to CreateNoteFromObjectData
Because in an upcoming patch the CloneAsValue() call in
XclImpNoteObj::DoPreProcessSdrObj will stop working, because the
underlying SfxItemSet will no longer be an SfxAllItemSet
Change-Id: I8361a1b1c1c64cff49c736812fbfb2597ab41140
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158750
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/postit.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index df114eaf64a5..5e7f6f81d16f 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -246,7 +246,7 @@ public: */ static ScPostIt* CreateNoteFromObjectData( ScDocument& rDoc, const ScAddress& rPos, - SfxItemSet&& oItemSet, const OUString& rStyleName, + const SfxItemSet& rItemSet, const OUString& rStyleName, const OutlinerParaObject& rOutlinerObj, const tools::Rectangle& rCaptionRect, bool bShown ); |