summaryrefslogtreecommitdiff
path: root/binaryurp/source/bridgefactory.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-28 21:11:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-28 22:05:46 +0100
commitebdbd2b578c970694597dc163125842e9073bf6c (patch)
tree3a5e3dace480276cf6417cfe81f528d88f5f3365 /binaryurp/source/bridgefactory.cxx
parent06a075ca72a5f7c206701433345a7a5542f838f7 (diff)
Adapted to new assertion/logging mechanisms.
Diffstat (limited to 'binaryurp/source/bridgefactory.cxx')
-rw-r--r--binaryurp/source/bridgefactory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 9421371c5149..5c9105585916 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -29,6 +29,7 @@
#include "sal/config.h"
#include <algorithm>
+#include <cassert>
#include "com/sun/star/connection/XConnection.hpp"
#include "com/sun/star/uno/Exception.hpp"
@@ -38,7 +39,6 @@
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implementationentry.hxx"
-#include "osl/diagnose.h"
#include "rtl/ref.hxx"
#include "sal/types.h"
#include "uno/lbnames.h"
@@ -77,7 +77,7 @@ BridgeFactory::static_getSupportedServiceNames() {
void BridgeFactory::removeBridge(
css::uno::Reference< css::bridge::XBridge > const & bridge)
{
- OSL_ASSERT(bridge.is());
+ assert(bridge.is());
rtl::OUString n(bridge->getName());
osl::MutexGuard g(*this);
if (n.getLength() == 0) {
@@ -98,7 +98,7 @@ BridgeFactory::BridgeFactory(
css::uno::Reference< css::uno::XComponentContext > const & context):
BridgeFactoryBase(*static_cast< osl::Mutex * >(this)), context_(context)
{
- OSL_ASSERT(context.is());
+ assert(context.is());
}
BridgeFactory::~BridgeFactory() {}