diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 10:41:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 22:17:55 +0100 |
commit | a1cba2d4db9de4883789e9cd7669a051789a48ee (patch) | |
tree | 3bd3daa47313e93e7be603799b7c79b9dc7fdb9a /sc/inc | |
parent | d486c3568f7ef545712cd1c9ba97b0296ed48657 (diff) |
cid#1455326 MoveSticky always has a non-nullptr pDoc
Change-Id: I84d9a81e9e8a544dbc50b9d6b40a7b9030f2a987
Reviewed-on: https://gerrit.libreoffice.org/82425
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/address.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index ec63932c5fc6..9af77284a986 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -625,7 +625,7 @@ public: ScRange& rErrorRange, const ScDocument* pDocument = nullptr ); /** Same as Move() but with sticky end col/row anchors. */ - [[nodiscard]] SC_DLLPUBLIC bool MoveSticky( const ScDocument* pDoc, SCCOL aDeltaX, SCROW aDeltaY, SCTAB aDeltaZ, + [[nodiscard]] SC_DLLPUBLIC bool MoveSticky( const ScDocument& rDoc, SCCOL aDeltaX, SCROW aDeltaY, SCTAB aDeltaZ, ScRange& rErrorRange ); SC_DLLPUBLIC void IncColIfNotLessThan(const ScDocument* pDoc, SCCOL nStartCol, SCCOL nOffset); |