summaryrefslogtreecommitdiff
path: root/sdext/source/minimizer
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r--sdext/source/minimizer/impoptimizer.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx
index 03ba917617d8..53600ed7bdae 100644
--- a/sdext/source/minimizer/impoptimizer.cxx
+++ b/sdext/source/minimizer/impoptimizer.cxx
@@ -518,27 +518,27 @@ bool ImpOptimizer::Optimize()
if ( !maCustomShowName.isEmpty() )
ImpExtractCustomShow( mxModel, maCustomShowName );
- if ( mbDeleteUnusedMasterPages )
+ if ( mbDeleteHiddenSlides )
{
SetStatusValue( TK_Progress, Any( static_cast< sal_Int32 >( 40 ) ) );
SetStatusValue( TK_Status, Any( OUString("STR_DELETING_SLIDES") ) );
DispatchStatus();
- ImpDeleteUnusedMasterPages( mxModel );
+ ImpDeleteHiddenSlides( mxModel );
}
- if ( mbDeleteHiddenSlides )
+ if ( mbDeleteNotesPages )
{
- SetStatusValue( TK_Progress, Any( static_cast< sal_Int32 >( 40 ) ) );
SetStatusValue( TK_Status, Any( OUString("STR_DELETING_SLIDES") ) );
DispatchStatus();
- ImpDeleteHiddenSlides( mxModel );
+ ImpDeleteNotesPages( mxModel );
}
- if ( mbDeleteNotesPages )
+ if ( mbDeleteUnusedMasterPages )
{
+ SetStatusValue( TK_Progress, Any( static_cast< sal_Int32 >( 40 ) ) );
SetStatusValue( TK_Status, Any( OUString("STR_DELETING_SLIDES") ) );
DispatchStatus();
- ImpDeleteNotesPages( mxModel );
+ ImpDeleteUnusedMasterPages( mxModel );
}
if ( mbOLEOptimization )