diff options
Diffstat (limited to 'vcl/source/treelist/treelistbox.cxx')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 7240215049b9..bbafb2a4ba95 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -3033,7 +3033,7 @@ SvLBoxItem* SvTreeListBox::GetItem_Impl( SvTreeListEntry* pEntry, tools::Long nX return pItemClicked; } -tools::Long SvTreeListBox::getPreferredDimensions(std::vector<long> &rWidths) const +tools::Long SvTreeListBox::getPreferredDimensions(std::vector<tools::Long> &rWidths) const { tools::Long nHeight = 0; rWidths.clear(); @@ -3064,7 +3064,7 @@ tools::Long SvTreeListBox::getPreferredDimensions(std::vector<long> &rWidths) co Size SvTreeListBox::GetOptimalSize() const { - std::vector<long> aWidths; + std::vector<tools::Long> aWidths; Size aRet(0, getPreferredDimensions(aWidths)); for (tools::Long aWidth : aWidths) aRet.AdjustWidth(aWidth ); |