diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-28 17:46:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-29 09:30:19 +0200 |
commit | ec7c28017953c43cce2b326c63f66d8051e0b705 (patch) | |
tree | 158e6f41e22b20610e2358f8d58e0ebedfa3de6b /sfx2/source/bastyp/helper.cxx | |
parent | 1451499bdbe4258708334f53ea6198965159bf7f (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.cxx | 26 |
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& ) |