summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galmisc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 14:38:18 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:09 +0200
commit1287804a89c73e072d57a11ca18988c3e73a77b8 (patch)
treee284541074d88fd8669f4dca9693b10ddecc96db /svx/source/gallery2/galmisc.cxx
parentca713640ba61e456b73e285960b3105343373174 (diff)
convert svx/source/gallery/*.cxx from String to OUString
Change-Id: I35f1f83e806ebe1bd2c81d0a85ce2a4ef4704132
Diffstat (limited to 'svx/source/gallery2/galmisc.cxx')
-rw-r--r--svx/source/gallery2/galmisc.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 436bcb4aa1fd..94cea901cc98 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -247,12 +247,12 @@ OUString GetReducedString( const INetURLObject& rURL, sal_Int32 nMaxLen )
String GetSvDrawStreamNameFromURL( const INetURLObject& rSvDrawObjURL )
{
- String aRet;
+ OUString aRet;
if( rSvDrawObjURL.GetProtocol() == INET_PROT_PRIV_SOFFICE &&
comphelper::string::getTokenCount(rSvDrawObjURL.GetMainURL( INetURLObject::NO_DECODE ), '/') == 3 )
{
- aRet = String(rSvDrawObjURL.GetMainURL( INetURLObject::NO_DECODE )).GetToken( 2, '/' );
+ aRet = rSvDrawObjURL.GetMainURL( INetURLObject::NO_DECODE ).getToken( 2, '/' );
}
return aRet;
@@ -405,7 +405,7 @@ GalleryProgress::GalleryProgress( GraphicFilter* pFilter ) :
if( mxProgressBar.is() )
{
- String aProgressText;
+ OUString aProgressText;
if( mpFilter )
{
@@ -415,9 +415,9 @@ GalleryProgress::GalleryProgress( GraphicFilter* pFilter ) :
// // be changed to use the XStatusIndicator instead of XProgressMonitor
}
else
- aProgressText = String( RTL_CONSTASCII_USTRINGPARAM( "Gallery" ) );
+ aProgressText = "Gallery";
- xMonitor->addText( String( RTL_CONSTASCII_USTRINGPARAM( "Gallery" ) ), aProgressText, sal_False ) ;
+ xMonitor->addText( "Gallery", aProgressText, sal_False ) ;
mxProgressBar->setRange( 0, GALLERY_PROGRESS_RANGE );
}
}
@@ -483,7 +483,7 @@ void GalleryTransferable::InitData( bool bLazy )
if( !mxModelStream.Is() )
{
- mxModelStream = new SotStorageStream( String() );
+ mxModelStream = new SotStorageStream( "" );
mxModelStream->SetBufferSize( 16348 );
if( !mpTheme->GetModelStream( mnObjectPos, mxModelStream ) )