summaryrefslogtreecommitdiff
path: root/sc/source/core/data/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/document.cxx')
-rw-r--r--sc/source/core/data/document.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 604ae0401359..27456da3e612 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -6480,7 +6480,7 @@ void ScDocument::CreateAllNoteCaptions()
}
}
-void ScDocument::ForgetNoteCaptions( const ScRangeList& rRanges )
+void ScDocument::ForgetNoteCaptions( const ScRangeList& rRanges, bool bPreserveData )
{
for (size_t i = 0, n = rRanges.size(); i < n; ++i)
{
@@ -6493,7 +6493,7 @@ void ScDocument::ForgetNoteCaptions( const ScRangeList& rRanges )
if (!pTab)
continue;
- pTab->ForgetNoteCaptions(s.Col(), s.Row(), e.Col(), e.Row());
+ pTab->ForgetNoteCaptions(s.Col(), s.Row(), e.Col(), e.Row(), bPreserveData);
}
}
}