diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-15 16:42:43 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-19 11:45:36 +0200 |
commit | dad00b3cab73575f027406ee0118c74d7fe8645b (patch) | |
tree | 33eff2f498a4cd0f137593255c5b800c20be652f /cui | |
parent | Remove direct reference to SvTreeList outside svtools. (diff) | |
download | core-dad00b3cab73575f027406ee0118c74d7fe8645b.tar.gz core-dad00b3cab73575f027406ee0118c74d7fe8645b.zip |
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
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |