diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-28 21:56:43 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-28 22:58:01 +0100 |
commit | 5e649bc002ca49a5a3db43cf48149709d446bb0e (patch) | |
tree | 6bdef54110f81d5a45f30030f8efca4f38aafbce /ucb/workben | |
parent | 46dfe0bce41de411ed14b21c24c849cc7e5f4b81 (diff) |
Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb
and use append() instead of appendAscii()
Change-Id: I7c9dd0e03e24a39240a82fc245b4722d4c424842
Diffstat (limited to 'ucb/workben')
-rw-r--r-- | ucb/workben/ucb/ucbdemo.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx index fd5860933da7..27fd41540777 100644 --- a/ucb/workben/ucb/ucbdemo.cxx +++ b/ucb/workben/ucb/ucbdemo.cxx @@ -1096,12 +1096,10 @@ void UcbContent::open( const rtl::OUString & rName, const OUString& rInput, if ( bPrint ) { if ( !bFolder && xRow->wasNull() ) - aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( - "<null>" ) ); + aText.AppendAscii( "<null>" ); else aText += bFolder ? OUString("true") : OUString("false"); - aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( - " : " ) ); + aText.AppendAscii( " : " ); } // IsDocument: @@ -1109,8 +1107,7 @@ void UcbContent::open( const rtl::OUString & rName, const OUString& rInput, if ( bPrint ) { if ( !bFolder && xRow->wasNull() ) - aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( - "<null>" ) ); + aText.AppendAscii( "<null>" ); else aText += bDocument ? OUString("true") : OUString("false"); // IsDocument @@ -1606,12 +1603,12 @@ void SAL_CALL UcbContent::contentEvent( const ucb::ContentEvent& evt ) aMatch += String(evt.Id->getContentIdentifier()); if (evt.Content.is()) { - aMatch.AppendAscii(RTL_CONSTASCII_STRINGPARAM(" - ")); + aMatch.AppendAscii(" - "); aMatch += String(evt.Content->getContentType()); } } else - aMatch.AppendAscii(RTL_CONSTASCII_STRINGPARAM("<no id>")); + aMatch.AppendAscii("<no id>"); print(aMatch); break; } |