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/inputopt.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/inputopt.hxx')
-rw-r--r-- | sc/inc/inputopt.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/inputopt.hxx b/sc/inc/inputopt.hxx index bc259928c05e..37bfbc46095d 100644 --- a/sc/inc/inputopt.hxx +++ b/sc/inc/inputopt.hxx @@ -31,6 +31,7 @@ private: bool bExtendFormat; bool bRangeFinder; bool bExpandRefs; + bool mbSortRefUpdate; bool bMarkHeader; bool bUseTabCol; bool bTextWysiwyg; @@ -56,6 +57,8 @@ public: bool GetRangeFinder() const { return bRangeFinder; } void SetExpandRefs(bool bSet) { bExpandRefs = bSet; } bool GetExpandRefs() const { return bExpandRefs; } + void SetSortRefUpdate(bool bSet) { mbSortRefUpdate = bSet; } + bool GetSortRefUpdate() const { return mbSortRefUpdate; } void SetMarkHeader(bool bSet) { bMarkHeader = bSet; } bool GetMarkHeader() const { return bMarkHeader; } void SetUseTabCol(bool bSet) { bUseTabCol = bSet; } |