summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-26 10:31:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-26 10:39:07 +0100
commitb0339463e0e6764f5c53cebdf2da73ccb16d6052 (patch)
treee964952462360d257f19a8fe4132a8fc1d742042 /sfx2
parentd675923db0f97892d35144df5c41f65c42bdceae (diff)
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
-rw-r--r--sfx2/source/doc/objstor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 17825c625b5b..edef588d7691 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -230,7 +230,7 @@ public:
}
catch( uno::Exception& )
{
- OSL_ASSERT( "Unexpected exception!" );
+ OSL_FAIL( "Unexpected exception!" );
}
}
}
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index e0eb2eded242..54ae1af26ea0 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1605,7 +1605,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
{
// it should not happen, the copies signature is invalid!
// throw the changes away
- OSL_ASSERT( "An invalid signature was copied!" );
+ OSL_FAIL( "An invalid signature was copied!" );
}
}
}