svtools/source/brwbox/brwbox1.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
New commits: commit 4162df8c0964ea81b57810b42ed69b7234f97245 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jun 29 12:03:58 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jun 29 16:02:42 2020 +0200 make browser rows slightly taller Change-Id: I6a466bfd43bb38cafa4cea0c1e68ed788922b53f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97405 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index b7c36729f684..78ed723a7987 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -776,31 +776,25 @@ OUString BrowseBox::GetColumnTitle( sal_uInt16 nId ) const return mvCols[ nItemPos ]->Title(); } - long BrowseBox::GetRowCount() const { return nRowCount; } - sal_uInt16 BrowseBox::ColCount() const { - return static_cast<sal_uInt16>(mvCols.size()); } - long BrowseBox::ImpGetDataRowHeight() const { - BrowseBox *pThis = const_cast<BrowseBox*>(this); - pThis->nDataRowHeight = pThis->CalcReverseZoom(pDataWin->GetTextHeight() + 2); + pThis->nDataRowHeight = pThis->CalcReverseZoom(pDataWin->GetTextHeight() + 4); pThis->Resize(); pDataWin->Invalidate(); return nDataRowHeight; } - void BrowseBox::SetDataRowHeight( long nPixel ) { @@ -809,14 +803,12 @@ void BrowseBox::SetDataRowHeight( long nPixel ) pDataWin->Invalidate(); } - void BrowseBox::SetTitleLines( sal_uInt16 nLines ) { nTitleLines = nLines; } - long BrowseBox::ScrollColumns( long nCols ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits