diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 20:40:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-17 15:34:22 +0200 |
commit | 9a31b606d39f90c72dd674b0f4f6a37c44fac5ef (patch) | |
tree | a379c0dbec5c137de62ca1376f90f20b9439fd33 /sc/inc/rangeutl.hxx | |
parent | e738683f98559af330a1cc36d8d0a1be11abb355 (diff) |
GetRangeFromString, etc. never passed a null ScDocument*
for the xml case this isn't immediately obvious, but pDoc should
only be null between Init and Destroy.
Change-Id: I7def8df4a4144964e3ec10964819451eb8316836
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102915
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/rangeutl.hxx')
-rw-r--r-- | sc/inc/rangeutl.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index a09cded44e51..a47ce79fefd0 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -128,7 +128,7 @@ public: static bool GetRangeFromString( ScRange& rRange, const OUString& rRangeStr, - const ScDocument* pDocument, + const ScDocument& rDocument, formula::FormulaGrammar::AddressConvention eConv, sal_Int32& nOffset, sal_Unicode cSeparator = ' ', @@ -136,7 +136,7 @@ public: static bool GetRangeListFromString( ScRangeList& rRangeList, const OUString& rRangeListStr, - const ScDocument* pDocument, + const ScDocument& rDocument, formula::FormulaGrammar::AddressConvention eConv, sal_Unicode cSeparator = ' ', sal_Unicode cQuote = '\''); @@ -144,7 +144,7 @@ public: static bool GetAreaFromString( ScArea& rArea, const OUString& rRangeStr, - const ScDocument* pDocument, + const ScDocument& rDocument, formula::FormulaGrammar::AddressConvention eConv, sal_Int32& nOffset, sal_Unicode cSeparator = ' '); @@ -153,7 +153,7 @@ public: static bool GetRangeFromString( css::table::CellRangeAddress& rRange, const OUString& rRangeStr, - const ScDocument* pDocument, + const ScDocument& rDocument, formula::FormulaGrammar::AddressConvention eConv, sal_Int32& nOffset, sal_Unicode cSeparator = ' '); |