summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_datasupplier.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /ucb/source/ucp/gio/gio_datasupplier.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'ucb/source/ucp/gio/gio_datasupplier.cxx')
-rw-r--r--ucb/source/ucp/gio/gio_datasupplier.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/gio/gio_datasupplier.cxx b/ucb/source/ucp/gio/gio_datasupplier.cxx
index 0c6e40657c9d..e6824e25631b 100644
--- a/ucb/source/ucp/gio/gio_datasupplier.cxx
+++ b/ucb/source/ucp/gio/gio_datasupplier.cxx
@@ -98,11 +98,11 @@ DataSupplier::~DataSupplier()
}
}
-::rtl::OUString DataSupplier::queryContentIdentifierString( sal_uInt32 nIndex )
+OUString DataSupplier::queryContentIdentifierString( sal_uInt32 nIndex )
{
if ( nIndex < maResults.size() )
{
- ::rtl::OUString aId = maResults[ nIndex ]->aId;
+ OUString aId = maResults[ nIndex ]->aId;
if ( aId.getLength() )
{
// Already cached.
@@ -114,16 +114,16 @@ DataSupplier::~DataSupplier()
{
GFile *pFile = mxContent->getGFile();
char* parent = g_file_get_uri(pFile);
- rtl::OUString aId = rtl::OUString::createFromAscii( parent );
+ OUString aId = OUString::createFromAscii( parent );
g_free(parent);
char *escaped_name =
g_uri_escape_string( g_file_info_get_name(maResults[ nIndex ]->pInfo) , NULL, false);
if ( ( aId.lastIndexOf( '/' ) + 1 ) != aId.getLength() )
- aId += rtl::OUString("/");
+ aId += OUString("/");
- aId += rtl::OUString::createFromAscii( escaped_name );
+ aId += OUString::createFromAscii( escaped_name );
g_free( escaped_name );
@@ -131,7 +131,7 @@ DataSupplier::~DataSupplier()
return aId;
}
- return ::rtl::OUString();
+ return OUString();
}
uno::Reference< ucb::XContentIdentifier > DataSupplier::queryContentIdentifier( sal_uInt32 nIndex )
@@ -146,7 +146,7 @@ uno::Reference< ucb::XContentIdentifier > DataSupplier::queryContentIdentifier(
}
}
- ::rtl::OUString aId = queryContentIdentifierString( nIndex );
+ OUString aId = queryContentIdentifierString( nIndex );
if ( aId.getLength() )
{
uno::Reference< ucb::XContentIdentifier > xId = new ucbhelper::ContentIdentifier( aId );
@@ -235,7 +235,7 @@ uno::Reference< sdbc::XRow > DataSupplier::queryPropertyValues( sal_uInt32 nInde
xContent, uno::UNO_QUERY_THROW );
sal_Int32 nCmdId( xCmdProc->createCommandIdentifier() );
ucb::Command aCmd;
- aCmd.Name = rtl::OUString("getPropertyValues");
+ aCmd.Name = OUString("getPropertyValues");
aCmd.Handle = -1;
aCmd.Argument <<= getResultSet()->getProperties();
uno::Any aResult( xCmdProc->execute(