summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/helper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-28 17:46:16 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:19 +0200
commitec7c28017953c43cce2b326c63f66d8051e0b705 (patch)
tree158e6f41e22b20610e2358f8d58e0ebedfa3de6b /sfx2/source/bastyp/helper.cxx
parent1451499bdbe4258708334f53ea6198965159bf7f (diff)
convert sfx2/source/bastyp/* from String to OUString
Change-Id: I984ca2833d65ce37967058b1cb5800c61defe88c
Diffstat (limited to 'sfx2/source/bastyp/helper.cxx')
-rw-r--r--sfx2/source/bastyp/helper.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index 3713d5462a8a..dfc3a235f344 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -94,13 +94,13 @@ std::vector<OUString> SfxContentHelper::GetResultSet( const OUString& rURL )
{
while ( xResultSet->next() )
{
- String aTitle( xRow->getString(1) );
- String aType( xRow->getString(2) );
- String aRow = aTitle;
- aRow += '\t';
+ OUString aTitle( xRow->getString(1) );
+ OUString aType( xRow->getString(2) );
+ OUString aRow = aTitle;
+ aRow += "\t";
aRow += aType;
- aRow += '\t';
- aRow += String( xContentAccess->queryContentIdentifierString() );
+ aRow += "\t";
+ aRow += xContentAccess->queryContentIdentifierString();
aList.push_back( OUString( aRow ) );
}
}
@@ -163,14 +163,14 @@ std::vector< OUString > SfxContentHelper::GetHelpTreeViewContents( const OUStrin
{
while ( xResultSet->next() )
{
- String aTitle( xRow->getString(1) );
+ OUString aTitle( xRow->getString(1) );
sal_Bool bFolder = xRow->getBoolean(2);
- String aRow = aTitle;
- aRow += '\t';
- aRow += String( xContentAccess->queryContentIdentifierString() );
- aRow += '\t';
- aRow += bFolder ? '1' : '0';
- aProperties.push_back( OUString( aRow ) );
+ OUString aRow = aTitle;
+ aRow += "\t";
+ aRow += xContentAccess->queryContentIdentifierString();
+ aRow += "\t";
+ aRow += bFolder ? "1" : "0";
+ aProperties.push_back( aRow );
}
}
catch( const ucb::CommandAbortedException& )