diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-02-12 11:03:29 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-02-17 12:07:20 +0100 |
commit | 347890c05e689cecc9361b4c2ebd25cb3b87f8e7 (patch) | |
tree | 9ee8623577cfa29324b50e2a22df0be91138efb6 /editeng | |
parent | 1f5efbf8b9ba3fd5887c58574dfed3bf31cd020e (diff) |
editeng: remove getHeight as a similar GetHeight already exits
Change-Id: I947b736b2c1eb8a6f0155460b4dc61d504623ca2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163510
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/ParagraphPortion.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
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() ) { |