summaryrefslogtreecommitdiff
path: root/unotools/source/config/fontoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/fontoptions.cxx')
-rw-r--r--unotools/source/config/fontoptions.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx
index 5766b9a9603c..fa2b52aceecd 100644
--- a/unotools/source/config/fontoptions.cxx
+++ b/unotools/source/config/fontoptions.cxx
@@ -150,11 +150,7 @@ SvtFontOptions_Impl::SvtFontOptions_Impl()
SvtFontOptions_Impl::~SvtFontOptions_Impl()
{
- // We must save our current values .. if user forget it!
- if( IsModified() )
- {
- Commit();
- }
+ assert(!IsModified()); // should have been committed
}
// public method