diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:21:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:21:01 +0000 |
commit | 820017567ad16ece07c7ea1920bce485168a641f (patch) | |
tree | dbf5e5f6b30a8baeb405a5d9d115457d9423ed8c /dbaccess/source | |
parent | acb031955af9c3854347c95565e54ce34e1679fb (diff) |
INTEGRATION: CWS hr50 (1.12.98); FILE MERGED
2008/04/11 12:26:39 hr 1.12.98.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowData.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowData.cxx b/dbaccess/source/ui/querydesign/TableWindowData.cxx index e4b6365a5768..174b33b260bb 100644 --- a/dbaccess/source/ui/querydesign/TableWindowData.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowData.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TableWindowData.cxx,v $ - * $Revision: 1.13 $ + * $Revision: 1.14 $ * * This file is part of OpenOffice.org. * @@ -123,8 +123,9 @@ bool OTableWindowData::init(const Reference< XConnection >& _xConnection,bool _ m_xTable.set( xQueries->getByName( m_sComposedName ), UNO_QUERY_THROW ); else if ( bIsKnownTable ) m_xTable.set( xTables->getByName( m_sComposedName ), UNO_QUERY_THROW ); - else + else { DBG_ERROR( "OTableWindow::Init: this is neither a query (or no queries are allowed) nor a table!" ); + } // if we survived so far, we know whether it's a query m_bIsQuery = bIsKnownQuery; |