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