From 347890c05e689cecc9361b4c2ebd25cb3b87f8e7 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 12 Feb 2024 11:03:29 +0900 Subject: editeng: remove getHeight as a similar GetHeight already exits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I947b736b2c1eb8a6f0155460b4dc61d504623ca2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163510 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- editeng/inc/ParagraphPortion.hxx | 2 -- editeng/source/editeng/impedit3.cxx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'editeng') diff --git a/editeng/inc/ParagraphPortion.hxx b/editeng/inc/ParagraphPortion.hxx index 2b0664ec0c2d..2e801a58c43d 100644 --- a/editeng/inc/ParagraphPortion.hxx +++ b/editeng/inc/ParagraphPortion.hxx @@ -84,8 +84,6 @@ public: { } - tools::Long getHeight() { return mnHeight; } - sal_Int32 GetLineNumber(sal_Int32 nIndex) const; EditLineList& GetLines() { return maLineList; } diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 5beaaf95e434..b54e1328a0ac 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -4290,7 +4290,7 @@ void ImpEditEngine::ShowParagraph( sal_Int32 nParagraph, bool bShow ) // If anyway, then save as sal_False before SetVisible ! } - if (bShow && (pPPortion->IsInvalid() || !pPPortion->getHeight())) + if (bShow && (pPPortion->IsInvalid() || !pPPortion->GetHeight())) { if ( !GetTextRanger() ) { -- cgit v1.2.3