summaryrefslogtreecommitdiff
path: root/cppu/source/LogBridge
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:35 +0100
commita1a8654c853372aad3546cbc5d31aaea705809a7 (patch)
treeedc89185c7bfd313ab58979090509ffb925c56d7 /cppu/source/LogBridge
parent0e7804b8978e106d08d026fd959714a8094b2403 (diff)
cppu: Use appropriate OUString functions on string constants
Change-Id: Id1d763c83821b7af6c541cb28ff438765026ea4d
Diffstat (limited to 'cppu/source/LogBridge')
-rw-r--r--cppu/source/LogBridge/LogBridge.cxx6
1 files changed, 3 insertions, 3 deletions
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;
}