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

Thomas Arnhold thomas at arnhold.org
Thu Mar 14 18:49:22 PDT 2013


 dbaccess/source/ui/browser/unodatbr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72a3647e5c72d7065eda3b1925880790b8bca2f1
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Fri Mar 15 02:46:47 2013 +0100

    dbaccess: fix ambiguity
    
    Change-Id: Ib25a9eab4ff2b2ba078f18d21e5f697c4fd62460

diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 253ddac..764aec9 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -1170,7 +1170,7 @@ OUString SbaTableQueryBrowser::getDataSourceAcessor( SvTreeListEntry* _pDataSour
     DBTreeListUserData* pData = static_cast< DBTreeListUserData* >( _pDataSourceEntry->GetUserData() );
     OSL_ENSURE( pData, "SbaTableQueryBrowser::getDataSourceAcessor: invalid entry data!" );
     OSL_ENSURE( pData->eType == etDatasource, "SbaTableQueryBrowser::getDataSourceAcessor: entry does not denote a data source!" );
-    return OUString( pData->sAccessor.Len() ? pData->sAccessor : GetEntryText( _pDataSourceEntry ));
+    return pData->sAccessor.Len() ? OUString(pData->sAccessor) : GetEntryText( _pDataSourceEntry );
 }
 
 // -------------------------------------------------------------------------


More information about the Libreoffice-commits mailing list