[Libreoffice-commits] core.git: vcl/win

Michael Stahl mstahl at redhat.com
Tue Sep 29 06:04:12 PDT 2015


 vcl/win/source/gdi/winlayout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 106a96075da1f004da51e8103675e72e6e6d69b8
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Sep 29 15:02:45 2015 +0200

    vcl: oops, fix windows build
    
    Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb

diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 0572b21..ac9ec6f 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;
 


More information about the Libreoffice-commits mailing list