diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-02 17:51:58 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-03 21:10:10 +0200 |
commit | 8c18ffbf9bb250fd49c5fc7ae89cc74155c768c6 (patch) | |
tree | d03d7934e640d51a590ccc7edfbb61532d150a61 /sc/inc/document.hxx | |
parent | d59e728be6d71cfb86c5f2904df793e9dd2d1af5 (diff) |
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.hxx | 5 |
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 ); |