summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/appserv.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
-rw-r--r--sfx2/source/doc/oleprops.cxx2
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx2
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;
}
}