summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propertycomposer.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:29:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:11 +0100
commit5ad692096323fcdf03823352b70bb7e71660919c (patch)
treefd3b578bd023400fc9daeed37cad2dbe4a5c9004 /extensions/source/propctrlr/propertycomposer.cxx
parent678cbfa572eacbbdbd989b0d7c39ac6d33583e2a (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'extensions/source/propctrlr/propertycomposer.cxx')
-rw-r--r--extensions/source/propctrlr/propertycomposer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx
index 4f88c2a0bed9..d8b97c0c9faf 100644
--- a/extensions/source/propctrlr/propertycomposer.cxx
+++ b/extensions/source/propctrlr/propertycomposer.cxx
@@ -355,7 +355,7 @@ namespace pcr
case InteractiveSelectionResult_Success:
case InteractiveSelectionResult_Pending:
- OSL_ENSURE( false, "PropertyComposer::onInteractivePropertySelection: no chance to forward the new value to the other handlers!" );
+ OSL_FAIL( "PropertyComposer::onInteractivePropertySelection: no chance to forward the new value to the other handlers!" );
// This means that we cannot know the new property value, which either has already been set
// at the first component ("Success"), or will be set later on once the asynchronous input
// is finished ("Pending"). So, we also cannot forward this new property value to the other
@@ -372,7 +372,7 @@ namespace pcr
break;
default:
- OSL_ENSURE( false, "OPropertyBrowserController::onInteractivePropertySelection: unknown result value!" );
+ OSL_FAIL( "OPropertyBrowserController::onInteractivePropertySelection: unknown result value!" );
break;
}