diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-29 15:02:45 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 15:02:45 +0200 |
commit | 106a96075da1f004da51e8103675e72e6e6d69b8 (patch) | |
tree | 690625b160c444e859b70530c750f0506cabd536 /vcl | |
parent | ea8de68df5e7f4388bd7d9dea0bdbcf73c889875 (diff) |
vcl: oops, fix windows build
Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 0572b2186f35..ac9ec6f68c09 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -1877,7 +1877,7 @@ void UniscribeLayout::GetCaretPositions( int nMaxIdx, long* pCaretXArray ) const int i; for( i = 0; i < nMaxIdx; ++i ) pCaretXArray[ i ] = -1; - std::unique_ptr<long[]> const pGlyphPos = new long[mnGlyphCount + 1]; + std::unique_ptr<long[]> const pGlyphPos(new long[mnGlyphCount + 1]); for( i = 0; i <= mnGlyphCount; ++i ) pGlyphPos[ i ] = -1; |