diff options
author | Arnaud VERSINI <arnaud.versini@libreoffice.org> | 2022-03-05 20:50:08 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-06 14:37:20 +0100 |
commit | 82f9e12b737b3dbdf8cb9175c94d61005b666725 (patch) | |
tree | 8695581d78f1df7aa3c5090c5a8a755a86e9487e /starmath/inc/dialog.hxx | |
parent | ffa0dedf93d913536488bc1718f855e6ff48284b (diff) |
Fix tdf#147755 by copying the vector.
Revert partially 224953d896a3dba5d85992394525ab8b54d8c314
Change-Id: Ic12d3b0a080ad3af69fa5c4e8c9b4d331305a663
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131066
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc/dialog.hxx')
-rw-r--r-- | starmath/inc/dialog.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 6fbaaff7b819..fee12d9a5130 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -279,7 +279,7 @@ public: void calccols(const vcl::RenderContext& rRenderContext); void SelectSymbol(sal_uInt16 nSymbol); sal_uInt16 GetSelectSymbol() const { return nSelectSymbol; } - void SetSymbolSet(SymbolPtrVec_t && rSymbolSet); + void SetSymbolSet(const SymbolPtrVec_t & rSymbolSet); void SetSelectHdl(const Link<SmShowSymbolSet&,void>& rLink) { aSelectHdlLink = rLink; } void SetDblClickHdl(const Link<SmShowSymbolSet&,void>& rLink) { aDblClickHdlLink = rLink; } }; |