summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlvw.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:13:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 10:08:05 +0200
commitf886d9cacba197cb92a75317fe7d24280dff6436 (patch)
tree8e95e9fc79121eb9d09a18022e253904a1ff184f /editeng/source/outliner/outlvw.cxx
parent9a59220e82fa87d70db2735bed502846d0f9df05 (diff)
use tools::Long in editeng
Change-Id: Ib7014c353489461ad9489d9f3fefd59a32f8f877 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104524 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/outliner/outlvw.cxx')
-rw-r--r--editeng/source/outliner/outlvw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 2bd7d8bb9172..525559720eac 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -566,7 +566,7 @@ void OutlinerView::Indent( short nDiff )
pOwner->UndoActionEnd();
}
-void OutlinerView::AdjustHeight( long nDY )
+void OutlinerView::AdjustHeight( tools::Long nDY )
{
pEditView->MoveParagraphs( nDY );
}
@@ -1270,7 +1270,7 @@ ESelection OutlinerView::GetSelection() const
}
-void OutlinerView::Scroll( long nHorzScroll, long nVertScroll )
+void OutlinerView::Scroll( tools::Long nHorzScroll, tools::Long nVertScroll )
{
pEditView->Scroll( nHorzScroll, nVertScroll );
}
@@ -1361,7 +1361,7 @@ void OutlinerView::Read( SvStream& rInput, EETextFormat eFormat, SvKeyValueItera
pEditView->Read( rInput, eFormat, pHTTPHeaderAttrs );
- long nParaDiff = pEditView->GetEditEngine()->GetParagraphCount() - nOldParaCount;
+ tools::Long nParaDiff = pEditView->GetEditEngine()->GetParagraphCount() - nOldParaCount;
sal_Int32 nChangesStart = aOldSel.nStartPara;
sal_Int32 nChangesEnd = nChangesStart + nParaDiff + (aOldSel.nEndPara-aOldSel.nStartPara);