Tag: cws_src680_dba24
User: oj      
Date: 05/02/21 05:10:52

Modified:
 /dba/dbaccess/source/ui/browser/
  genericcontroller.cxx

Log:
 RESYNC: (1.59-1.61); FILE MERGED

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: genericcontroller.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.59.4.3&r2=1.59.4.4
Delta lines:  +4 -1
-------------------
--- genericcontroller.cxx       7 Feb 2005 13:07:15 -0000       1.59.4.3
+++ genericcontroller.cxx       21 Feb 2005 13:10:49 -0000      1.59.4.4
@@ -277,13 +277,16 @@
                {
                        aValue.Value >>= xFrame;
                }
+        /* #i42316#
                else if ( ( *pIter >>= aValue ) && ( 0 == 
aValue.Name.compareToAscii( "ReadOnly" ) ) )
                {
                        aValue.Value >>= m_bReadOnly;
                }
+        */
                else if ( ( *pIter >>= aValue ) && ( 0 == 
aValue.Name.compareToAscii( "Preview" ) ) )
                {
                        aValue.Value >>= m_bPreview;
+            m_bReadOnly = sal_True;
                }
        }
        try
@@ -1135,7 +1138,7 @@
 
                                // check which service we know ....
                                static const sal_Char* pTransTable[] = {
-                                       
"com.sun.star.sdb.DatabaseDocument","sdatabase",
+                                       
"com.sun.star.sdb.OfficeDatabaseDocument","sdatabase",
                                        "com.sun.star.text.TextDocument",       
"swriter",
                                        
"com.sun.star.sheet.SpreadsheetDocument", "scalc",
                                        
"com.sun.star.presentation.PresentationDocument", "simpress",




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

Reply via email to