From 1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Tue, 2 May 2017 13:04:17 +0200 Subject: Replace all OUString("") with OUString() Change-Id: Ie14c4d76cb61cfbe0410103adfc1afc8ade0f3e0 Reviewed-on: https://gerrit.libreoffice.org/37146 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/appl/appserv.cxx | 2 +- sfx2/source/dialog/filedlghelper.cxx | 2 +- sfx2/source/doc/oleprops.cxx | 2 +- sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index b8480b0f6f4d..54a503f5b166 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -170,7 +170,7 @@ namespace return OUString( "Draw" ); break; default: - return OUString( "" ); + return OUString(); break; } } diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 67d8ff728401..0c5e227cf1e7 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -1575,7 +1575,7 @@ void FileDialogHelper_Impl::getRealFilter( OUString& _rFilter ) const { std::shared_ptr pFilter = mpMatcher->GetFilter4UIName( _rFilter, m_nMustFlags, m_nDontFlags ); - _rFilter = pFilter ? pFilter->GetFilterName() : OUString(""); + _rFilter = pFilter ? pFilter->GetFilterName() : OUString(); } } diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index f1ba967a20fa..318f981ee460 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -672,7 +672,7 @@ SfxOleDictionaryProperty::SfxOleDictionaryProperty( const SfxOleTextEncoding& rT OUString SfxOleDictionaryProperty::GetPropertyName( sal_Int32 nPropId ) const { SfxOlePropNameMap::const_iterator aIt = maPropNameMap.find( nPropId ); - return (aIt == maPropNameMap.end()) ? OUString("") : aIt->second; + return (aIt == maPropNameMap.end()) ? OUString() : aIt->second; } void SfxOleDictionaryProperty::SetPropertyName( sal_Int32 nPropId, const OUString& rPropName ) diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 15d89bce4205..5574cdec1423 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -71,7 +71,7 @@ static OUString lcl_getAppName( vcl::EnumContext::Application eApp ) return OUString( "Impress" ); break; default: - return OUString( "" ); + return OUString(); break; } } -- cgit v1.2.3