diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-02-08 21:37:26 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-02-10 00:43:06 +0000 |
commit | 765ba08d0bfba45f3a33d4cf0a03b1499ab091d5 (patch) | |
tree | 1d9936b14712a3231608c457ad0763245d7f248f /starmath | |
parent | 54d5b1828ec73d0475e0ddb6e31394a7e1904a1b (diff) |
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.cxx | 4 |
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 ); } |