vcl/source/components/display.cxx | 2 -- vcl/source/edit/textdata.cxx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 91029b7a1781c42ea70902be724accc9d70d2a21 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Fri Nov 16 01:30:26 2012 +0900 Drop unused #include Change-Id: Ibbeb1e154b2d4829b853dc4c47ef6bf5b6955470 diff --git a/vcl/source/components/display.cxx b/vcl/source/components/display.cxx index 4145143..f1862bc 100644 --- a/vcl/source/components/display.cxx +++ b/vcl/source/components/display.cxx @@ -29,8 +29,6 @@ #include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase4.hxx> -#include <vector> - using ::rtl::OUString; using namespace ::com::sun::star::uno; commit 87dbf96874f223921722945ad4d7937f95d742c8 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Fri Nov 16 01:27:25 2012 +0900 Delete array Change-Id: Ia02e936ace65e576f9df086d4608e514f3b0001e diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx index a468327..f713947 100644 --- a/vcl/source/edit/textdata.cxx +++ b/vcl/source/edit/textdata.cxx @@ -320,14 +320,14 @@ TEIMEInfos::~TEIMEInfos() void TEIMEInfos::CopyAttribs( const sal_uInt16* pA, sal_uInt16 nL ) { nLen = nL; - delete pAttribs; + delete[] pAttribs; pAttribs = new sal_uInt16[ nL ]; memcpy( pAttribs, pA, nL*sizeof(sal_uInt16) ); } void TEIMEInfos::DestroyAttribs() { - delete pAttribs; + delete[] pAttribs; pAttribs = NULL; nLen = 0; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits