diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 11:54:21 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 11:54:21 +0100 |
commit | f357474191b3cc66013a112d2a994102c4fca9c6 (patch) | |
tree | b59ca9b81baeb23e5245c722eb6b78521a2bba6d /UnoControls/source/controls/progressmonitor.cxx | |
parent | cppcheck: use prefix variant (diff) | |
download | core-f357474191b3cc66013a112d2a994102c4fca9c6.tar.gz core-f357474191b3cc66013a112d2a994102c4fca9c6.zip |
RTL_CONSTASCII_USTRINGPARAM in components 1
Diffstat (limited to 'UnoControls/source/controls/progressmonitor.cxx')
-rw-r--r-- | UnoControls/source/controls/progressmonitor.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index bf6dc153a933..2f73787e4bba 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -897,9 +897,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Top->GetObject (n) ; aCollectString += pSearchItem->sTopic ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xTopic_Top->setText ( aCollectString ) ; } @@ -915,9 +915,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Top->GetObject (n) ; aCollectString += pSearchItem->sText ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xText_Top->setText ( aCollectString ) ; } @@ -935,9 +935,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Bottom->GetObject (n) ; aCollectString += pSearchItem->sTopic ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xTopic_Bottom->setText ( aCollectString ) ; } @@ -953,9 +953,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Bottom->GetObject (n) ; aCollectString += pSearchItem->sText ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xText_Bottom->setText ( aCollectString ) ; } |