[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 29 14:03:28 UTC 2020
svtools/source/brwbox/brwbox1.cxx | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
New commits:
commit 4162df8c0964ea81b57810b42ed69b7234f97245
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jun 29 12:03:58 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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 )
{
More information about the Libreoffice-commits
mailing list