svtools: Drop ValueSetItem::mnTextOffset

After

    Change-Id: I0150e699602a625874e5a09b8df38110f52c0c03
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Oct 6 12:15:49 2026 +0200

        svtools: Drop now unused WB_NAMEFIELD logic from ValueSet

, that member is only written to, but never read, so drop
it completely.

Change-Id: I974183e725e3c530162152debd29bbf207b21b6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211899
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn
2026-10-07 17:50:08 +02:00
parent 0e206454b1
commit a91d44317a
2 changed files with 0 additions and 6 deletions
-1
View File
@@ -179,7 +179,6 @@ private:
tools::Rectangle maItemListRect;
tools::Long mnItemWidth;
tools::Long mnItemHeight;
tools::Long mnTextOffset;
tools::Long mnVisLines;
tools::Long mnLines;
tools::Long mnUserItemWidth;
-5
View File
@@ -85,7 +85,6 @@ ValueSet::ValueSet(std::unique_ptr<weld::ScrolledWindow> pScrolledWindow)
{
mnItemWidth = 0;
mnItemHeight = 0;
mnTextOffset = 0;
mnVisLines = 0;
mnLines = 0;
mnUserItemWidth = 0;
@@ -790,10 +789,6 @@ void ValueSet::Format(vcl::RenderContext const & rRenderContext)
aWinSize.AdjustHeight(-mnMargin * 2);
}
mnTextOffset = 0;
mnTextOffset += mnMargin;
// calculate number of columns
if (!mnUserCols)
{