diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-05-04 14:58:17 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-05-04 16:19:01 +0200 |
commit | 088ce8d2df78dd60724d1be0feb9f02bbcd043a4 (patch) | |
tree | 530f2c5d34ae7e8511736ff921efafbe7754a778 /svtools | |
parent | 70b508ce1f74dbcf24edf1f3cb8d0db2c2d4e3b3 (diff) |
tdf#107622: also update nNullVirOff when changing nNullOff
Change-Id: Iad867d6130c263d7bbfd7caf5c1805f13325aedb
Reviewed-on: https://gerrit.libreoffice.org/37234
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ruler.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 0adcbe5bf445..57f0311940bd 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2495,6 +2495,7 @@ void Ruler::SetNullOffset( long nPos ) { if ( mpData->nNullOff != nPos ) { + mpData->nNullVirOff += nPos - mpData->nNullOff; mpData->nNullOff = nPos; ImplUpdate(); } |