summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx8
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
2 files changed, 5 insertions, 5 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;
}
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 4d73684c86ea..5ddb5ce8859d 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -330,7 +330,7 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent,
break;
default:
- OSL_ENSURE(!this, "wrong family");
+ OSL_ENSURE(false, "wrong family");
}
if (!sPage.isEmpty())