summaryrefslogtreecommitdiff
path: root/starmath/source/cfgitem.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-11 11:37:33 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-11 18:43:07 -0200
commit806dce17d6631738c7388d8d68d8b5ac2e4c11a8 (patch)
tree0759954593c2fa8a85b94e5d3a4b4f40e913f091 /starmath/source/cfgitem.cxx
parente33702442a22a72f96a093fbfdf8bfac217f416f (diff)
Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV Modules shell, slideshow, sot, starmath
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r--starmath/source/cfgitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 33c83c1c4717..74247f907bbb 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -1027,7 +1027,7 @@ void SmMathConfig::LoadFormat()
bool bUseDefaultFont = true;
if (pVal->hasValue() && (*pVal >>= aTmpStr))
{
- bUseDefaultFont = 0 == aTmpStr.getLength();
+ bUseDefaultFont = aTmpStr.isEmpty();
if (bUseDefaultFont)
{
aFnt = pFormat->GetFont( i );
@@ -1092,7 +1092,7 @@ void SmMathConfig::SaveFormat()
{
SmFontFormat aFntFmt( pFormat->GetFont( i ) );
aFntFmtId = GetFontFormatList().GetFontFormatId( aFntFmt, true );
- OSL_ENSURE( aFntFmtId.getLength(), "FontFormatId not found" );
+ OSL_ENSURE( !aFntFmtId.isEmpty(), "FontFormatId not found" );
}
*pValue++ <<= aFntFmtId;