[Libreoffice-commits] core.git: vcl/workben
Stephan Bergmann
sbergman at redhat.com
Wed Mar 9 19:29:03 UTC 2016
vcl/workben/vcldemo.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 377400d8547e66598589995e8da7d8969496f89b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 9 20:28:35 2016 +0100
-Werror,-Wmismatched-new-delete
Change-Id: I0357af933795aad10db8ab23ae9ef0373e73287f
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index de4dce9..a7fc478 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -643,7 +643,7 @@ public:
rDev.DrawLine(aTop,aBottom);
rDev.SetRasterOp(ROP_OVERPAINT);
}
- delete pItems;
+ delete[] pItems;
aPos.Move(aTextRect.GetWidth() + 16, 0);
}
More information about the Libreoffice-commits
mailing list