summaryrefslogtreecommitdiff
path: root/io/source/TextInputStream
diff options
context:
space:
mode:
authorJosé Guilherme Vanz <guilherme.sft@gmail.com>2012-11-30 22:00:48 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-12-01 14:45:35 +0000
commitf73201e54af8c3e36342811653dd5fbcafb291fb (patch)
tree22bd54a27bd2cd8397ef0f3c47974dda6a6163a3 /io/source/TextInputStream
parent8967f80a50cd59199cf77d3b2eccdc57095d8c02 (diff)
Removal ::rtl:: prefixes and macros in IO
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in IO. Change-Id: I410016990579e4a05843cfe396832a5fc8435e70 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1210 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'io/source/TextInputStream')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 5e87cf6c1d51..a2fe77425d9c 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -180,7 +180,7 @@ OUString OTextInputStream::implReadString( const Sequence< sal_Unicode >& Delimi
OUString aRetStr;
if( !mbEncodingInitialized )
{
- OUString aUtf8Str( RTL_CONSTASCII_USTRINGPARAM("utf8") );
+ OUString aUtf8Str("utf8");
setEncoding( aUtf8Str );
}
if( !mbEncodingInitialized )
@@ -439,13 +439,13 @@ Reference< XInterface > SAL_CALL TextInputStream_CreateInstance(
OUString TextInputStream_getImplementationName()
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM( IMPLEMENTATION_NAME ) );
+ return OUString ( IMPLEMENTATION_NAME );
}
Sequence< OUString > TextInputStream_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ) );
+ seqNames.getArray()[0] = SERVICE_NAME;
return seqNames;
}