summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationPane.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 2f4cab1b2648..b5dbe2d2bb0f 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -745,7 +745,7 @@ void CustomAnimationPane::updateControls()
mpPBMoveUp->Enable(mxView.is() && bEnableUp);
mpPBMoveDown->Enable(mxView.is() && bEnableDown);
- SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
+ SdOptions* pOptions = SD_MOD()->GetSdOptions(DocumentType::Impress);
mpCBAutoPreview->Check( pOptions->IsPreviewChangedEffects() );
updateMotionPathTags();
@@ -2165,7 +2165,7 @@ void CustomAnimationPane::implControlHdl(Control* pControl )
onPreview( true );
else if( pControl == mpCBAutoPreview )
{
- SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
+ SdOptions* pOptions = SD_MOD()->GetSdOptions(DocumentType::Impress);
pOptions->SetPreviewChangedEffects( mpCBAutoPreview->IsChecked() );
}
}