diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-12 23:45:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 13:28:26 -0500 |
commit | 6fb12c68756b5f2b41fd39571603096545efae09 (patch) | |
tree | 3673566d0c15087c9959ac07a1165a1bb1f3fbe1 /sc | |
parent | 8cb7229b3179d9cea0d360079bb051445bc1cdf9 (diff) |
Don't allow reference mode when the control is disabled.
Change-Id: I9ba6121ee67f3f4fc0b4a1fb3b14036fce2e88e9
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/xmlsource/xmlsourcedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx index e6f39e3df7df..4a0684d66366 100644 --- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx +++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx @@ -74,7 +74,7 @@ ScXMLSourceDlg::~ScXMLSourceDlg() sal_Bool ScXMLSourceDlg::IsRefInputMode() const { - return mpActiveEdit != NULL; + return mpActiveEdit != NULL && mpActiveEdit->IsEnabled(); } void ScXMLSourceDlg::SetReference(const ScRange& rRange, ScDocument* pDoc) |