diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:29:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:29:10 +0200 |
commit | 8be00a3f757618b98d2407978eec2b8526e33232 (patch) | |
tree | 1d0f546afec2a9dcf34e3bb1a76aac16a9fb8606 /lotuswordpro | |
parent | 475cbbb2596117231d36cf8a847b6d342323a3f8 (diff) |
Help GCC
Change-Id: Ibeace7ce7621033cf04e3186c212bbb4a27492a1
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpbulletstylemgr.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpsilverbullet.cxx | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx index 34f9c563e9ca..c77114fe8a34 100644 --- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx +++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx @@ -102,21 +102,21 @@ OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, LwpBulletOverrid { if(!pPara || !pIndent || !pBullOver) { - return ""; + return OUString(); } LwpSilverBullet* pSilverBullet = pPara->GetSilverBullet(); if (!pSilverBullet) { assert(false); - return ""; + return OUString(); } LwpPara* pBulletPara = pSilverBullet->GetBulletPara(); if (!pBulletPara) { assert(false); - return ""; + return OUString(); } LwpParaProperty* pProp = pPara->GetProperty(PP_LOCAL_INDENT); diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx index a695c9001644..3ccf51e89a77 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.cxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx @@ -192,7 +192,7 @@ OUString LwpSilverBullet::GetBulletFontName() //foundry has been set? if (!m_pFoundry) { - return ""; + return OUString(); } LwpFontManager& rFontMgr = m_pFoundry->GetFontManger(); @@ -203,7 +203,7 @@ OUString LwpSilverBullet::GetBulletFontName() //final fontid is valid? if (nFinalFont > 255 || nFinalFont == 0) { - return ""; + return OUString(); } //get font name from font manager. @@ -252,7 +252,7 @@ OUString LwpSilverBullet::GetNumCharByStyleID(LwpFribParaNumber* pParaNumber) if (!pParaNumber) { assert(false); - return ""; + return OUString(); } OUString strNumChar("1"); @@ -363,7 +363,7 @@ OUString LwpSilverBullet::GetAdditionalName(sal_uInt8 nPos) LwpFrib* pParaFrib = m_pBulletPara->GetFribs().GetFribs(); if (!pParaFrib) { - return ""; + return OUString(); } while (pParaFrib) @@ -373,7 +373,7 @@ OUString LwpSilverBullet::GetAdditionalName(sal_uInt8 nPos) ModifierInfo* pMoInfo = pParaFrib->GetModifiers(); if (!pMoInfo) { - return ""; + return OUString(); } sal_uInt16 nHideLevels = pMoInfo->aTxtAttrOverride.GetHideLevels(); sal_uInt16 nType = static_cast<LwpFribDocVar*>(pParaFrib)->GetType(); @@ -434,7 +434,7 @@ OUString LwpSilverBullet::GetSectionName() LwpStory* pStory = dynamic_cast<LwpStory*>(m_aStory.obj(VO_STORY).get()); if (!pStory) { - return ""; + return OUString(); } return pStory->GetSectionName(); |