User: obo     
Date: 2008-02-26 14:39:20+0000
Modified:
   dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx

Log:
 INTEGRATION: CWS custommeta (1.27.68); FILE MERGED
 2008/02/01 10:33:53 mst 1.27.68.2: RESYNC: (1.27-1.28); FILE MERGED
 2008/01/29 13:14:58 mst 1.27.68.1: - 
dbaccess/source/ui/app/AppDetailPageHelper.cxx:
   + adapt to ODocumentInfoPreview interface change
   + use XDocumentProperties instead of XDocumentInfo
   + incidentally, fixes bug: document information was not displayed at all
 - dbaccess/source/core/dataaccess/documentdefinition.{hxx,cxx}:
   + renamed ODocumentDefinition::onCommandGetDocumentInfo to
     onCommandGetDocumentProperties

File Changes:

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

File [changed]: AppDetailPageHelper.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx?r1=1.28&r2=1.29
Delta lines:  +4 -2
-------------------
--- AppDetailPageHelper.cxx     2008-01-30 08:42:02+0000        1.28
+++ AppDetailPageHelper.cxx     2008-02-26 14:39:18+0000        1.29
@@ -165,7 +165,8 @@
 #include <tools/debug.hxx>
 #endif
 
-#include <com/sun/star/document/XStandaloneDocumentInfo.hpp>
+#include <com/sun/star/document/XDocumentProperties.hpp>
+
 
 using namespace ::dbaui;
 using namespace ::com::sun::star::container;
@@ -1090,7 +1091,8 @@
                                        m_aPreview.Hide();
                                        m_aDocumentInfo.Clear();
                                        m_aDocumentInfo.Show();
-                                       
Reference<document::XStandaloneDocumentInfo> xProp(aPreview,UNO_QUERY);
+                                       
Reference<document::XDocumentProperties> xProp(
+                        aPreview, UNO_QUERY);
                                        if ( xProp.is() )
                                                
m_aDocumentInfo.fill(xProp,String());
                                }




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

Reply via email to