summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-09 20:28:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-09 20:28:35 +0100
commit377400d8547e66598589995e8da7d8969496f89b (patch)
treee83b66e9710bffa8ef3c363dba862d065da6a97e /vcl/workben
parent7f9118adeb94416b53083d9de8d485eafad4ad60 (diff)
-Werror,-Wmismatched-new-delete
Change-Id: I0357af933795aad10db8ab23ae9ef0373e73287f
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index de4dce9846a4..a7fc47861cf7 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);
}