summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/inc/ParagraphPortion.hxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
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() )
{