summaryrefslogtreecommitdiff
path: root/cui/source/options/treeopt.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-15 16:42:43 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-19 11:45:36 +0200
commitdad00b3cab73575f027406ee0118c74d7fe8645b (patch)
tree33eff2f498a4cd0f137593255c5b800c20be652f /cui/source/options/treeopt.cxx
parent293fd587f4836bd3358abb77ec06066f92fe18cc (diff)
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/source/options/treeopt.cxx')
-rw-r--r--cui/source/options/treeopt.cxx4
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 )