Tag: cws_src680_dba201a
User: oj      
Date: 05/05/06 00:58:15

Modified:
 /dba/dbaccess/source/core/dataaccess/
  documentdefinition.cxx

Log:
 #i47316# don't allow save when not in design mode

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: documentdefinition.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentdefinition.cxx?r1=1.26&r2=1.26.6.1
Delta lines:  +5 -3
-------------------
--- documentdefinition.cxx      18 Apr 2005 08:46:22 -0000      1.26
+++ documentdefinition.cxx      6 May 2005 07:58:13 -0000       1.26.6.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: documentdefinition.cxx,v $
  *
- *  $Revision: 1.26 $
+ *  $Revision: 1.26.6.1 $
  *
- *  last change: $Author: obo $ $Date: 2005/04/18 08:46:22 $
+ *  last change: $Author: oj $ $Date: 2005/05/06 07:58:13 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -937,6 +937,8 @@
 sal_Bool ODocumentDefinition::save(sal_Bool _bApprove)
 {
        // default handling: instantiate an interaction handler and let it 
handle the parameter request
+    if ( !m_bOpenInDesign )
+        return sal_False;
        try
        {
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to