summaryrefslogtreecommitdiff
path: root/svtools/source/uno
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-27 14:00:27 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 10:01:32 -0500
commitc391ebbf8c8472911af52bbf3ff028ccee5155be (patch)
treed3fa5969171ccc69a8c5437971b2691ac604651f /svtools/source/uno
parent22040a74cc0a598b54cc33259b5f39b6bd5ada5d (diff)
Make SvViewDataItem a struct, with only one public data member...
Change-Id: Ib6b710f87fcdfe465fb78a397100f82da11b3611
Diffstat (limited to 'svtools/source/uno')
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx12
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;
}
}