summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-02-08 21:37:26 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-02-10 00:43:06 +0000
commit765ba08d0bfba45f3a33d4cf0a03b1499ab091d5 (patch)
tree1d9936b14712a3231608c457ad0763245d7f248f /starmath
parenttdf#105672 framework managed menu button (diff)
downloadcore-765ba08d0bfba45f3a33d4cf0a03b1499ab091d5.tar.gz
core-765ba08d0bfba45f3a33d4cf0a03b1499ab091d5.zip
starmath: Kill redundant check
Change-Id: I45f873f3733800c43c36b38dcefb79eba46b9007 Reviewed-on: https://gerrit.libreoffice.org/34030 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/cfgitem.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index b1805760ccea..6e94785d305b 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -576,11 +576,7 @@ void SmMathConfig::LoadFontFormatList()
SmFontFormat aFntFmt;
ReadFontFormat( aFntFmt, pNode[i], FONT_FORMAT_LIST );
if (!pFontFormatList->GetFontFormat( pNode[i] ))
- {
- OSL_ENSURE( nullptr == pFontFormatList->GetFontFormat( pNode[i] ),
- "FontFormat ID already exists" );
pFontFormatList->AddFontFormat( pNode[i], aFntFmt );
- }
}
pFontFormatList->SetModified( false );
}