summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/AffineBridge/AffineBridge.cxx6
-rw-r--r--cppu/source/LogBridge/LogBridge.cxx6
-rw-r--r--cppu/source/UnsafeBridge/UnsafeBridge.cxx6
3 files changed, 9 insertions, 9 deletions
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx
index a6cc4b7816d8..c340282d1ae7 100644
--- a/cppu/source/AffineBridge/AffineBridge.cxx
+++ b/cppu/source/AffineBridge/AffineBridge.cxx
@@ -330,18 +330,18 @@ bool AffineBridge::v_isValid(rtl::OUString * pReason)
{
bool result = m_enterCount > 0;
if (!result)
- *pReason = rtl::OUString("not entered");
+ *pReason = "not entered";
else
{
result = m_innerThreadId == osl::Thread::getCurrentIdentifier();
if (!result)
- *pReason = rtl::OUString("wrong thread");
+ *pReason = "wrong thread";
}
if (result)
- *pReason = rtl::OUString("OK");
+ *pReason = "OK";
return result;
}
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx
index 709946e1a39b..3a8f03529402 100644
--- a/cppu/source/LogBridge/LogBridge.cxx
+++ b/cppu/source/LogBridge/LogBridge.cxx
@@ -112,18 +112,18 @@ bool LogBridge::v_isValid(rtl::OUString * pReason)
bool result = m_count > 0;
if (!result)
{
- *pReason = rtl::OUString("not entered");
+ *pReason = "not entered";
}
else
{
result = m_threadId == osl::Thread::getCurrentIdentifier();
if (!result)
- *pReason = rtl::OUString("wrong thread");
+ *pReason = "wrong thread";
}
if (result)
- *pReason = rtl::OUString("OK");
+ *pReason = "OK";
return result;
}
diff --git a/cppu/source/UnsafeBridge/UnsafeBridge.cxx b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
index 7483bbd5e8ed..b51f17836ff0 100644
--- a/cppu/source/UnsafeBridge/UnsafeBridge.cxx
+++ b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
@@ -123,18 +123,18 @@ bool UnsafeBridge::v_isValid(rtl::OUString * pReason)
bool result = m_count > 0;
if (!result)
{
- *pReason = rtl::OUString("not entered");
+ *pReason = "not entered";
}
else
{
result = m_threadId == osl::Thread::getCurrentIdentifier();
if (!result)
- *pReason = rtl::OUString("wrong thread");
+ *pReason = "wrong thread";
}
if (result)
- *pReason = rtl::OUString("OK");
+ *pReason = "OK";
return result;
}