diff options
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index cd9e13f8c812..8a409090f500 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -1673,18 +1673,18 @@ void UnoTreeListItem::InitViewData( SvTreeListBox* pView,SvTreeListEntry* pEntry if( !pViewData ) pViewData = pView->GetViewDataItem( pEntry, this ); - pViewData->aSize = maImage.GetSizePixel(); + pViewData->maSize = maImage.GetSizePixel(); const Size aTextSize(pView->GetTextWidth( maText ), pView->GetTextHeight()); - if( pViewData->aSize.Width() ) + if( pViewData->maSize.Width() ) { - pViewData->aSize.Width() += 6 + aTextSize.Width(); - if( pViewData->aSize.Height() < aTextSize.Height() ) - pViewData->aSize.Height() = aTextSize.Height(); + pViewData->maSize.Width() += 6 + aTextSize.Width(); + if( pViewData->maSize.Height() < aTextSize.Height() ) + pViewData->maSize.Height() = aTextSize.Height(); } else { - pViewData->aSize = aTextSize; + pViewData->maSize = aTextSize; } } |