summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/inputhdl.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-14 12:28:03 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-14 12:31:10 -0500
commit76bdf523981d2bd983dac4e01bc5cc934118a73f (patch)
tree41677a4ef5e3cb1b9df8736d30080a1bc72d9673 /sc/source/ui/inc/inputhdl.hxx
parent5000e64ecc55efd47d92714cf6db375ff37aac4b (diff)
fdo#73773: Check if the *document* is closing, not the *app*.
Otherwise it would crash if the app has multiple document instances open and only one of them is being closed. Change-Id: Ib6e370037ab6097c9c6eff8035249663944b3a6c
Diffstat (limited to 'sc/source/ui/inc/inputhdl.hxx')
-rw-r--r--sc/source/ui/inc/inputhdl.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index bc7afcae014b..10f1f0a01041 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -100,6 +100,7 @@ private:
bool bProtected:1;
bool bCellHasPercentFormat:1;
bool bLastIsSymbol:1;
+ bool mbDocumentDisposing:1;
sal_uLong nValidation;
SvxCellHorJustify eAttrAdjust;
@@ -256,6 +257,8 @@ public:
// actually private, public for SID_INPUT_SUM
void InitRangeFinder(const OUString& rFormula);
+ void SetDocumentDisposing( bool b );
+
static void SetAutoComplete(bool bSet) { bAutoComplete = bSet; }
};