[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - svtools/source
Mike Kaganski
mike.kaganski at collabora.com
Thu May 4 14:45:47 UTC 2017
svtools/source/control/ruler.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 7fcb7496f5cb24bfe1c2e4d48a77072fd18c1f60
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Thu May 4 14:58:17 2017 +0300
tdf#107622: also update nNullVirOff when changing nNullOff
Change-Id: Iad867d6130c263d7bbfd7caf5c1805f13325aedb
Reviewed-on: https://gerrit.libreoffice.org/37234
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
(cherry picked from commit 088ce8d2df78dd60724d1be0feb9f02bbcd043a4)
Reviewed-on: https://gerrit.libreoffice.org/37250
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 25fa30af1422..7306b097df87 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2515,6 +2515,7 @@ void Ruler::SetNullOffset( long nPos )
{
if ( mpData->nNullOff != nPos )
{
+ mpData->nNullVirOff += nPos - mpData->nNullOff;
mpData->nNullOff = nPos;
ImplUpdate();
}
More information about the Libreoffice-commits
mailing list