[Libreoffice-commits] core.git: dbaccess/source

Julien Nabet serval2412 at yahoo.fr
Mon Jun 30 14:29:05 PDT 2014


 dbaccess/source/core/dataaccess/documentdefinition.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 501ebd0f7c867c4df5ba84fd8b6b1a197aeeea92
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Jun 30 23:27:34 2014 +0200

    Resolves fdo#43277  Send Legacy Report "E-Mail as ..."=>error message
    
    Change-Id: Iaaadd4fd3015214c007a86d1a83f837aa0d2bdb6

diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index a6ec586..660d927 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -931,7 +931,7 @@ Any ODocumentDefinition::onCommandOpenSomething( const Any& _rOpenArgument, cons
         if ( m_bForm )
             xModule->setIdentifier( "com.sun.star.sdb.FormDesign" );
         else if ( !xReportDefinition.is() )
-            xModule->setIdentifier( "com.sun.star.sdb.TextReportDesign" );
+            xModule->setIdentifier( "com.sun.star.text.TextDocument" );
 
         updateDocumentTitle();
     }


More information about the Libreoffice-commits mailing list