diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-05-10 18:38:52 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-05-10 18:38:52 +0200 |
commit | 0ebdc61a4fb7ba3113b51a09e1905d06e5aa0f4f (patch) | |
tree | 1b27e0ba803f6c0bf4886a834da9711025946c92 /sc/source/ui/docshell/docsh5.cxx | |
parent | ea24f338e61432731081b6e74a0be32988ede1cb (diff) | |
parent | ea9452e6a4dae23aacf56954fd9d2fc02398dc20 (diff) |
CWS-TOOLING: integrate CWS dr73
Diffstat (limited to 'sc/source/ui/docshell/docsh5.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh5.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx index 1bbf9437bc1c..061ece5efc90 100644 --- a/sc/source/ui/docshell/docsh5.cxx +++ b/sc/source/ui/docshell/docsh5.cxx @@ -97,8 +97,9 @@ void ScDocShell::ErrorMessage( USHORT nGlobStrId ) BOOL ScDocShell::IsEditable() const { // import into read-only document is possible - must be extended if other filters use api + // #i108547# MSOOXML filter uses "IsChangeReadOnlyEnabled" property - return !IsReadOnly() || aDocument.IsImportingXML(); + return !IsReadOnly() || aDocument.IsImportingXML() || aDocument.IsChangeReadOnlyEnabled(); } void ScDocShell::DBAreaDeleted( SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW /* nY2 */ ) |