summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-14 15:38:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-15 17:39:42 +0200
commit3fc713a8e53d7882089ec4b9240bf78bb99f8275 (patch)
treecb29bde77f1894c4a015dc5f85897bf961db3e5b /sc/source/ui/miscdlgs
parent662c6a43a4826fc88cd6a86bb57ab7fd513a4762 (diff)
ScAreaNameIterator always dereferences its ScDocument* argument
Change-Id: Ibdeeb634561a4bdd437e04bece77315b392b020e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102746 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r--sc/source/ui/miscdlgs/linkarea.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx
index a5e683e5dcbf..c4c23b1ba369 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -250,7 +250,7 @@ void ScLinkedAreaDlg::UpdateSourceRanges()
m_xLbRanges->append_text("CSV_all");
}
- ScAreaNameIterator aIter(&m_pSourceShell->GetDocument());
+ ScAreaNameIterator aIter(m_pSourceShell->GetDocument());
ScRange aDummy;
OUString aName;
while ( aIter.Next( aName, aDummy ) )