summaryrefslogtreecommitdiffstats
path: root/basctl/source/basicide/linenumberwindow.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 09:28:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-21 14:34:01 +0200
commit915c7529e9b041879e8c63f15306028a6f649f48 (patch)
tree3072539a7649359d9ddbf1496ef7e4ee7c8ff0d2 /basctl/source/basicide/linenumberwindow.cxx
parentuse tools::Long in comphelper..cui (diff)
downloadcore-915c7529e9b041879e8c63f15306028a6f649f48.tar.gz
core-915c7529e9b041879e8c63f15306028a6f649f48.zip
use tools::Long in accessibility..basctl
Change-Id: I67087c7a281e5bdecbaf227bd3147e7c12828791 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104587 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide/linenumberwindow.cxx')
-rw-r--r--basctl/source/basicide/linenumberwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index 4fa6ebf8f5aa..196339cb1b33 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -102,7 +102,7 @@ void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)
}
}
-void LineNumberWindow::DoScroll(long nVertScroll)
+void LineNumberWindow::DoScroll(tools::Long nVertScroll)
{
m_nCurYOffset -= nVertScroll;
Window::Scroll(0, nVertScroll);
@@ -115,7 +115,7 @@ bool LineNumberWindow::SyncYOffset()
if (!pView)
return false;
- long nViewYOffset = pView->GetStartDocPos().Y();
+ tools::Long nViewYOffset = pView->GetStartDocPos().Y();
if (m_nCurYOffset == nViewYOffset)
return false;