diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:29 +0200 |
commit | 43c00bc48978a2c148d6f0622f40d3b40a93eb6c (patch) | |
tree | d0b308203578d3b99cd31aa9136978e50edb14b1 /sfx2/source | |
parent | a7e273755095e4b97c05a63ab39aa09f8aa755a4 (diff) |
Clean up aEmptyStr
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/impldde.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.cxx | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index 70ed17d20957..d0a270c4d93e 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -191,8 +191,7 @@ bool SvDDEObject::GetData( ::com::sun::star::uno::Any & rData /*out param*/, pRequest->Execute(); } - OUString aEmptyStr; - rData <<= aEmptyStr; + rData <<= OUString(); } return 0 == pConnection->GetError(); } diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index 598e3034b4e2..445e703b77e9 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -262,9 +262,8 @@ lang::Locale SAL_CALL ThumbnailViewAcc::getLocale() { ThrowIfDisposed(); const SolarMutexGuard aSolarGuard; - const OUString aEmptyStr; uno::Reference< accessibility::XAccessible > xParent( getAccessibleParent() ); - lang::Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + lang::Locale aRet( "", "", "" ); if( xParent.is() ) { @@ -809,9 +808,8 @@ lang::Locale SAL_CALL ThumbnailViewItemAcc::getLocale() throw (accessibility::IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception) { const SolarMutexGuard aSolarGuard; - const OUString aEmptyStr; uno::Reference< accessibility::XAccessible > xParent( getAccessibleParent() ); - lang::Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + lang::Locale aRet( "", "", "" ); if( xParent.is() ) { |