summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/htmlimp.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-13 19:32:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-14 09:52:22 +0200
commit4ade8461354063b8c1d22eaf65373a6e89f6a14a (patch)
tree9d6b66e4ee7b5ab36e07d7ed0348f6b812be4dfe /sc/source/filter/inc/htmlimp.hxx
parente44039e6fe58d2768f9e97ef786c8500952e785d (diff)
InsertRangeName always dereferences its ScDocument* arg
Change-Id: I85e10c92c2480c4b1aff36c3c29cc7972f2bed8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102599 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter/inc/htmlimp.hxx')
-rw-r--r--sc/source/filter/inc/htmlimp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/htmlimp.hxx b/sc/source/filter/inc/htmlimp.hxx
index da50cb33c4de..eaddd57cf16f 100644
--- a/sc/source/filter/inc/htmlimp.hxx
+++ b/sc/source/filter/inc/htmlimp.hxx
@@ -25,7 +25,7 @@
class ScHTMLImport : public ScEEImport
{
private:
- static void InsertRangeName( ScDocument* pDoc, const OUString& rName, const ScRange& rRange );
+ static void InsertRangeName( ScDocument& rDoc, const OUString& rName, const ScRange& rRange );
public:
ScHTMLImport( ScDocument* pDoc, const OUString& rBaseURL, const ScRange& rRange, bool bCalcWidthHeight );