summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-19 10:06:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-19 11:56:29 +0200
commit6ea4e63248e2400abd71684cf11af2714cb9890a (patch)
tree165e6f2910dedcd24009707e8180c5021b0db26e
parenttdf#118637: sw_xhtmlexport: Add unittest (diff)
downloadcore-6ea4e63248e2400abd71684cf11af2714cb9890a.tar.gz
core-6ea4e63248e2400abd71684cf11af2714cb9890a.zip
fix free/delete mismatch
Change-Id: I8400e33292605058d1d3f238eae1508528d624c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115781 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 8fb8a584cefe..b5b19b10bf74 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -72,7 +72,7 @@ public:
tools::JsonWriter aJsonWriter;
m_rSidebarDockingWin.DumpAsPropertyTree(aJsonWriter);
aJsonWriter.put("id", m_rSidebarDockingWin.GetLOKWindowId());
- std::unique_ptr<char[]> data( aJsonWriter.extractData());
+ std::unique_ptr<char[], o3tl::free_delete> data( aJsonWriter.extractData());
std::string_view message(data.get());
if (message != m_LastNotificationMessage)
{