diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:27:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:27:35 +0100 |
commit | a1a8654c853372aad3546cbc5d31aaea705809a7 (patch) | |
tree | edc89185c7bfd313ab58979090509ffb925c56d7 /cppu | |
parent | 0e7804b8978e106d08d026fd959714a8094b2403 (diff) |
cppu: Use appropriate OUString functions on string constants
Change-Id: Id1d763c83821b7af6c541cb28ff438765026ea4d
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/AffineBridge/AffineBridge.cxx | 6 | ||||
-rw-r--r-- | cppu/source/LogBridge/LogBridge.cxx | 6 | ||||
-rw-r--r-- | cppu/source/UnsafeBridge/UnsafeBridge.cxx | 6 |
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; } |