summaryrefslogtreecommitdiff
path: root/sc/inc/scopetools.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-17 16:10:58 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-24 23:29:27 -0400
commit5af76406e2aee8179bb68edba1e10b00003a8756 (patch)
tree36e6bcde764a34a5ee3a44046a2983374684b2c9 /sc/inc/scopetools.hxx
parentf0ae65d902ddcd6c9879133292ed7d92fd8ec8f8 (diff)
Use RefUpdateContext to stuff all parameters for UpdateReference.
Because I was getting tired of typing all these parameters every time I branch off to a new function. Change-Id: I1ae14f290af5543150694d0bea27c617cccb9db2
Diffstat (limited to 'sc/inc/scopetools.hxx')
-rw-r--r--sc/inc/scopetools.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx
index 590ccbf0f2ce..3544b79f2547 100644
--- a/sc/inc/scopetools.hxx
+++ b/sc/inc/scopetools.hxx
@@ -26,6 +26,15 @@ public:
~AutoCalcSwitch();
};
+class ExpandRefsSwitch
+{
+ ScDocument& mrDoc;
+ bool mbOldValue;
+public:
+ ExpandRefsSwitch(ScDocument& rDoc, bool bExpandRefs);
+ ~ExpandRefsSwitch();
+};
+
}
#endif