[Libreoffice-commits] .: svtools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 7 22:33:45 PDT 2012


 svtools/source/control/ctrlbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa30508fd3b2224e76e1ac7c150df9040518e7aa
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Oct 8 07:33:09 2012 +0200

    Fix svtools with Visual Studio 2010
    
    Change-Id: I445173e8f469c409801d803ef22cb499935ba19b

diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 9b82dd9..fc99145 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -832,7 +832,7 @@ sal_uInt16 LineListBox::InsertEntry( const XubString& rStr, sal_uInt16 nPos )
         if ( nPos < pLineList->size() ) {
             ImpLineList::iterator it = pLineList->begin();
             ::std::advance( it, nPos );
-            pLineList->insert( it, NULL );
+            pLineList->insert( it, reinterpret_cast<ImpLineListData *>(NULL) );
         } else {
             pLineList->push_back( NULL );
         }


More information about the Libreoffice-commits mailing list