diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-10-08 07:33:09 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-10-08 07:33:19 +0200 |
commit | fa30508fd3b2224e76e1ac7c150df9040518e7aa (patch) | |
tree | 9ed2ccb6482cbf50ee142940676b3a346db61d5d /svtools | |
parent | d650d404c006ffcbb47d6871e2eab6fc4d764c40 (diff) |
Fix svtools with Visual Studio 2010
Change-Id: I445173e8f469c409801d803ef22cb499935ba19b
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 9b82dd913483..fc99145c8163 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 ); } |