summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/lnkbase2.cxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
-rw-r--r--sfx2/source/doc/objstor.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index 23f016a282f9..3cdc5b065f36 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -361,7 +361,7 @@ void SvBaseLink::_GetRealObject( sal_Bool bConnect)
{
OUString sServer;
if( pImpl->m_pLinkMgr->GetDisplayNames( this, &sServer ) &&
- sServer == OUString(GetpApp()->GetAppName()) ) // internal Link !!!
+ sServer == GetpApp()->GetAppName() ) // internal Link !!!
{
// so that the Internal link can be created!
nObjType = OBJECT_INTERN;
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index b97062248f74..ad869f5083c7 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1411,7 +1411,7 @@ void SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(sal_uInt16 nFlags)
size_t nCount = aStrings.size();
size_t nPos = 0;
while(nPos < nCount && pEntry &&
- aStrings[nPos] == OUString(aFmtLb.GetEntryText(pEntry)))
+ aStrings[nPos] == aFmtLb.GetEntryText(pEntry))
{
++nPos;
pEntry = aFmtLb.Next( pEntry );
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 1ed9433f8a72..11a81a049d62 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -3063,7 +3063,7 @@ sal_Bool SfxObjectShell::SaveAsOwnFormat( SfxMedium& rMedium )
const SfxFilter* pFilter = rMedium.GetFilter();
bool bChart = false;
- if(pFilter->GetName() == OUString("chart8"))
+ if(pFilter->GetName() == "chart8")
bChart = true;
SetupStorage( xStorage, nVersion, bTemplate, bChart );