summaryrefslogtreecommitdiffstats
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-02 17:51:58 +0200
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-03 21:10:10 +0200
commit8c18ffbf9bb250fd49c5fc7ae89cc74155c768c6 (patch)
treed03d7934e640d51a590ccc7edfbb61532d150a61 /sc/inc/document.hxx
parentRemove (misleading) EditEngine::QuickRemoveCharAttribs (diff)
downloadcore-8c18ffbf9bb250fd49c5fc7ae89cc74155c768c6.tar.gz
core-8c18ffbf9bb250fd49c5fc7ae89cc74155c768c6.zip
fdo#81633: Add a new configuration option to toggle ref update on sort.
The new option is in Calc -> General and is labeled "Update references when sorting range of cells" Change-Id: I5ac686e96742df40f7d8ba5ffec23806db2988a6
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index fb0352110528..ad99322cac96 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1676,7 +1676,10 @@ public:
SC_DLLPUBLIC SvNumberFormatter* GetFormatTable() const;
SC_DLLPUBLIC SvNumberFormatter* CreateFormatTable() const;
- void Sort( SCTAB nTab, const ScSortParam& rSortParam, bool bKeepQuery, ScProgress* pProgress, sc::ReorderParam* pUndo );
+ void Sort(
+ SCTAB nTab, const ScSortParam& rSortParam, bool bKeepQuery, bool bUpdateRefs,
+ ScProgress* pProgress, sc::ReorderParam* pUndo );
+
void Reorder( const sc::ReorderParam& rParam, ScProgress* pProgress );
SCSIZE Query( SCTAB nTab, const ScQueryParam& rQueryParam, bool bKeepSub );