diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-12 11:40:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-12 12:19:43 +0200 |
commit | 3dafed2edee8fe6e75b328f13d79014b611e7acf (patch) | |
tree | dbc47a283e0d7f2e4dfae35c7c2707093b45fa85 /sw/source/ui/dbui/dbinsdlg.cxx | |
parent | 20c0aaf75f2923bb7a00dc628b88c878073b8e19 (diff) |
-Werror,-Wundefined-bool-conversion
Change-Id: Iff8db4c82abeeed0789d7012223a846f1058c353
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index bb6c6819566f..14e5731a38f2 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -327,7 +327,7 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView, } if( !aDBColumns.insert( pNew ).second ) { - OSL_ENSURE( !this, "Spaltenname mehrfach vergeben?" ); + OSL_ENSURE( false, "Spaltenname mehrfach vergeben?" ); delete pNew; } } @@ -994,19 +994,19 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection, if (it != aDBColumns.end()) aColFlds.push_back(*it); else { - OSL_ENSURE( !this, "database column not found" ); + OSL_ENSURE( false, "database column not found" ); } } if( static_cast<size_t>(nCols) != aColFlds.size() ) { - OSL_ENSURE( !this, "not all database columns found" ); + OSL_ENSURE( false, "not all database columns found" ); nCols = static_cast<sal_Int32>(aColFlds.size()); } if(!nRows || !nCols) { - OSL_ENSURE( !this, "wrong parameters" ); + OSL_ENSURE( false, "wrong parameters" ); break; } |