Kaydet (Commit) 8be00a3f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Help GCC

Change-Id: Ibeace7ce7621033cf04e3186c212bbb4a27492a1
üst 475cbbb2
......@@ -377,7 +377,7 @@ OUString SAL_CALL SvxUnoTextRangeBase::getString()
}
else
{
return "";
return OUString();
}
}
......
......@@ -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);
......
......@@ -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();
......
......@@ -1584,7 +1584,7 @@ OUString ToolBox::GetQuickHelpText( sal_uInt16 nItemId ) const
if ( pItem )
return pItem->maQuickHelpText;
else
return "";
return OUString();
}
void ToolBox::SetHelpText( sal_uInt16 nItemId, const OUString& rText )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment