diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2017-05-02 13:04:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 08:39:18 +0200 |
commit | 1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed (patch) | |
tree | c3b81991090cefd9468fe0d3dced9da6fb073971 /sfx2/source | |
parent | 0025fc13d805751f8eeb14febbdd0033e0a6d91e (diff) |
Replace all OUString("") with OUString()
Change-Id: Ie14c4d76cb61cfbe0410103adfc1afc8ade0f3e0
Reviewed-on: https://gerrit.libreoffice.org/37146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
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<const SfxFilter> 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; } } |