summaryrefslogtreecommitdiff
path: root/starmath/source/cfgitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 10:50:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 11:38:22 +0000
commit618171552e1bcddb07660167d9df4512435269b0 (patch)
tree24663a06258318d8ab0d57d1e6f676e4afdebcdc /starmath/source/cfgitem.cxx
parenta6628078a929a39a95ae8b2f51348996dc41afbc (diff)
loplugin:expandablemethods in sot..starmath
Change-Id: I5b718bbda9ceca5bbfd1e6482ebd215e15884956 Reviewed-on: https://gerrit.libreoffice.org/30318 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r--starmath/source/cfgitem.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 1daf41e62359..4b1bd12c2b3a 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -361,13 +361,6 @@ void SmMathConfig::SetFormatModified( bool bVal )
}
-void SmMathConfig::SetFontFormatListModified( bool bVal )
-{
- if (pFontFormatList)
- pFontFormatList->SetModified( bVal );
-}
-
-
void SmMathConfig::ReadSymbol( SmSym &rSymbol,
const OUString &rSymbolName,
const OUString &rBaseNode ) const
@@ -974,7 +967,8 @@ void SmMathConfig::SetStandardFormat( const SmFormat &rFormat, bool bSaveFontFor
if (bSaveFontFormatList)
{
// needed for SmFontTypeDialog's DefaultButtonClickHdl
- SetFontFormatListModified( true );
+ if (pFontFormatList)
+ pFontFormatList->SetModified( true );
SaveFontFormatList();
}
}