Kaydet (Commit) 106a9607 authored tarafından Michael Stahl's avatar Michael Stahl

vcl: oops, fix windows build

Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb
üst ea8de68d
...@@ -1877,7 +1877,7 @@ void UniscribeLayout::GetCaretPositions( int nMaxIdx, long* pCaretXArray ) const ...@@ -1877,7 +1877,7 @@ void UniscribeLayout::GetCaretPositions( int nMaxIdx, long* pCaretXArray ) const
int i; int i;
for( i = 0; i < nMaxIdx; ++i ) for( i = 0; i < nMaxIdx; ++i )
pCaretXArray[ i ] = -1; 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 ) for( i = 0; i <= mnGlyphCount; ++i )
pGlyphPos[ i ] = -1; pGlyphPos[ i ] = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment