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 /lotuswordpro | |
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 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpchangemgr.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpglobalmgr.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpmarker.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpproplist.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpstory.cxx | 8 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfcell.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfutil.cxx | 24 |
7 files changed, 25 insertions, 25 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx index ee1906865eb0..30b272e35ccc 100644 --- a/lotuswordpro/source/filter/lwpchangemgr.cxx +++ b/lotuswordpro/source/filter/lwpchangemgr.cxx @@ -109,7 +109,7 @@ OUString LwpChangeMgr::GetChangeID(LwpFrib* pFrib) std::map<LwpFrib*,OUString>::iterator iter; iter = m_pFribMap->find(pFrib); if (iter == m_pFribMap->end()) - return OUString(""); + return OUString(); else return iter->second; } diff --git a/lotuswordpro/source/filter/lwpglobalmgr.cxx b/lotuswordpro/source/filter/lwpglobalmgr.cxx index e3bab7f91073..a8ad1469b430 100644 --- a/lotuswordpro/source/filter/lwpglobalmgr.cxx +++ b/lotuswordpro/source/filter/lwpglobalmgr.cxx @@ -136,7 +136,7 @@ OUString LwpGlobalMgr::GetEditorName(sal_uInt8 nID) auto iter = m_EditorAttrMap.find(nID); if (iter != m_EditorAttrMap.end()) return iter->second->cName.str(); - return OUString(""); + return OUString(); } XFColor LwpGlobalMgr::GetHighlightColor(sal_uInt8 nID) diff --git a/lotuswordpro/source/filter/lwpmarker.cxx b/lotuswordpro/source/filter/lwpmarker.cxx index 5cf0e9f59060..4d1f85943cc9 100644 --- a/lotuswordpro/source/filter/lwpmarker.cxx +++ b/lotuswordpro/source/filter/lwpmarker.cxx @@ -94,7 +94,7 @@ OUString LwpMarker::GetNamedProperty(const OUString& name) if (pProp) return pProp->GetNamedProperty(name); else - return OUString(""); + return OUString(); } LwpStoryMarker::LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm) @@ -147,7 +147,7 @@ OUString LwpCHBlkMarker::GetPromptText() pStory = dynamic_cast<LwpStory*>(m_objPromptStory.obj().get()); if (pStory) return pStory->GetContentText(); - return OUString(""); + return OUString(); } void LwpCHBlkMarker::ConvertCHBlock(XFContentContainer* pXFPara, sal_uInt8 nType) diff --git a/lotuswordpro/source/filter/lwpproplist.cxx b/lotuswordpro/source/filter/lwpproplist.cxx index 2c62f252be8d..3ecc26782201 100644 --- a/lotuswordpro/source/filter/lwpproplist.cxx +++ b/lotuswordpro/source/filter/lwpproplist.cxx @@ -90,7 +90,7 @@ OUString LwpPropList::GetNamedProperty(const OUString& name) { return pProp->GetValue().str(); } - return OUString(""); + return OUString(); } LwpPropListElement* LwpPropList::FindPropByName(const OUString& name) @@ -125,7 +125,7 @@ OUString LwpPropList::EnumNamedProperty(OUString& name,OUString& value) if(pElement) return pElement->GetName().str(); } - return OUString(""); + return OUString(); } else { @@ -137,7 +137,7 @@ OUString LwpPropList::EnumNamedProperty(OUString& name,OUString& value) if(pElement) return pElement->GetName().str(); } - return OUString(""); + return OUString(); } } diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx index 61c91b71bb6c..04f0f29ead13 100644 --- a/lotuswordpro/source/filter/lwpstory.cxx +++ b/lotuswordpro/source/filter/lwpstory.cxx @@ -436,11 +436,11 @@ OUString LwpStory::GetContentText(bool bAllText) { LwpPara* pPara = dynamic_cast<LwpPara*>(pObj.get()); if (!pPara || pPara->GetNext().obj() != nullptr) - return OUString(""); + return OUString(); pPara->SetFoundry(m_pFoundry); return pPara->GetContentText(); } - return OUString(""); + return OUString(); } } @@ -448,7 +448,7 @@ OUString LwpStory::RegisterFirstFribStyle() { LwpPara* pPara = dynamic_cast<LwpPara*>(GetFirstPara().obj().get()); if (!pPara) - return OUString(""); + return OUString(); pPara->SetFoundry(m_pFoundry); LwpFribPtr& rFribs = pPara->GetFribs(); LwpFrib* pFirstFrib = rFribs.GetFribs(); @@ -456,7 +456,7 @@ OUString LwpStory::RegisterFirstFribStyle() XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager(); XFTextStyle* pBaseStyle = pXFStyleManager->FindTextStyle(pFirstFrib->GetStyleName()); if (pBaseStyle == nullptr) - return OUString(""); + return OUString(); XFTextStyle* pStyle = new XFTextStyle; *pStyle = *pBaseStyle; OUString sName = "Ruby" + pFirstFrib->GetStyleName(); diff --git a/lotuswordpro/source/filter/xfilter/xfcell.cxx b/lotuswordpro/source/filter/xfilter/xfcell.cxx index cc21b9b72313..c3552eec646d 100644 --- a/lotuswordpro/source/filter/xfilter/xfcell.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcell.cxx @@ -137,12 +137,12 @@ OUString XFCell::GetCellName() XFRow *pRow = m_pOwnerRow; if( !pRow ) - return OUString(""); + return OUString(); XFTable *pTable = pRow->GetOwnerTable(); if( !pTable ) - return OUString(""); + return OUString(); OUString name; if( pTable->IsSubTable() ) diff --git a/lotuswordpro/source/filter/xfilter/xfutil.cxx b/lotuswordpro/source/filter/xfilter/xfutil.cxx index 4c6d6ae1889c..f438133dcc81 100644 --- a/lotuswordpro/source/filter/xfilter/xfutil.cxx +++ b/lotuswordpro/source/filter/xfilter/xfutil.cxx @@ -149,7 +149,7 @@ OUString GetUnderlineName(enumXFUnderline type) return OUString("samll-wave"); break; } - return OUString(""); + return OUString(); } OUString GetReliefName(enumXFRelief type) @@ -165,7 +165,7 @@ OUString GetReliefName(enumXFRelief type) default: break; } - return OUString(""); + return OUString(); } OUString GetCrossoutName(enumXFCrossout type) @@ -190,7 +190,7 @@ OUString GetCrossoutName(enumXFCrossout type) default: break; } - return OUString(""); + return OUString(); } OUString GetTransformName(enumXFTransform type) @@ -211,7 +211,7 @@ OUString GetTransformName(enumXFTransform type) default: break; } - return OUString(""); + return OUString(); } OUString GetEmphasizeName(enumXFEmphasize type) @@ -232,7 +232,7 @@ OUString GetEmphasizeName(enumXFEmphasize type) default: break; } - return OUString(""); + return OUString(); } OUString GetTextDirName(enumXFTextDir dir) @@ -266,7 +266,7 @@ OUString GetTextDirName(enumXFTextDir dir) default: break; } - return OUString(""); + return OUString(); } OUString GetFrameXPos(enumXFFrameXPos pos) @@ -288,7 +288,7 @@ OUString GetFrameXPos(enumXFFrameXPos pos) default: break; } - return OUString(""); + return OUString(); } OUString GetFrameXRel(enumXFFrameXRel rel) @@ -337,7 +337,7 @@ OUString GetFrameXRel(enumXFFrameXRel rel) default: break; } - return OUString(""); + return OUString(); } OUString GetFrameYPos(enumXFFrameYPos pos) @@ -355,7 +355,7 @@ OUString GetFrameYPos(enumXFFrameYPos pos) case enumXFFrameYPosBelow: return OUString("below"); } - return OUString(""); + return OUString(); } OUString GetFrameYRel(enumXFFrameYRel rel) @@ -383,7 +383,7 @@ OUString GetFrameYRel(enumXFFrameYRel rel) case enumXFFrameYRelText: return OUString("text"); } - return OUString(""); + return OUString(); } OUString GetAlignName(enumXFAlignType align) @@ -405,7 +405,7 @@ OUString GetAlignName(enumXFAlignType align) else if( align == enumXFALignMargins ) return OUString("margins"); - return OUString(""); + return OUString(); } OUString GetPageUsageName(enumXFPageUsage usage) @@ -478,7 +478,7 @@ OUString GetColorMode(enumXFColorMode mode) case enumXFColorMono: return OUString("mono"); } - return OUString(""); + return OUString(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |