From dad00b3cab73575f027406ee0118c74d7fe8645b Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 15 Oct 2012 16:42:43 -0400 Subject: Remove direct reference to SvListEntry outside svtools. Not all instances are removed, however... Some are used in virtual method signatures, which will take a little more effort to fix. Change-Id: Ib30e6bbef5f27f970e6e19291501f7a09d94e0ab --- cui/source/options/treeopt.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source') diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 760285326e47..b61ddd8c7e40 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1841,10 +1841,10 @@ void OfaTreeOptionsDialog::ResizeTreeLB( void ) SvLBoxTreeList* pTreeList = aTreeLB.GetModel(); DBG_ASSERT( pTreeList, "-OfaTreeOptionsDialog::ResizeTreeLB(): no model, no cookies!" ); - SvListEntry* pEntry = pTreeList->First(); + SvLBoxEntry* pEntry = pTreeList->First(); while( pEntry ) { - long n = aTreeLB.GetTextWidth( aTreeLB.GetEntryText( static_cast< SvLBoxEntry* >( pEntry ) ) ); + long n = aTreeLB.GetTextWidth(aTreeLB.GetEntryText(pEntry)); n += ((nDepth == 0) ? nIndent0 : nIndent1); if( n > nDelta ) -- cgit