summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/slidesorter/view/SlsButtonBar.cxx4
-rwxr-xr-xsd/source/ui/view/Outliner.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
index ff680f932be7..d67c4e3ff683 100644
--- a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
+++ b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
@@ -1463,8 +1463,8 @@ void StartShowButton::ProcessClick (const model::SharedPageDescriptor& rpDescrip
// StartWithActualPage to make the slide show use the
// specified first page.
const DocumentType eType (mrSlideSorter.GetModel().GetDocument()->GetDocumentType());
- const BOOL bSavedState (SD_MOD()->GetSdOptions(eType)->IsStartWithActualPage());
- SD_MOD()->GetSdOptions(eType)->SetStartWithActualPage(FALSE);
+ const sal_Bool bSavedState (SD_MOD()->GetSdOptions(eType)->IsStartWithActualPage());
+ SD_MOD()->GetSdOptions(eType)->SetStartWithActualPage(sal_False);
xPresentation->startWithArguments(aProperties);
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 9fd874db2f51..6ce5b516496d 100755
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -526,7 +526,7 @@ bool Outliner::StartSearchAndReplace (const SvxSearchItem* pSearchItem)
Initialize ( ! mpSearchItem->GetBackward());
- sal_uInt16 nCommand = mpSearchItem->GetCommand();
+ const sal_uInt16 nCommand (mpSearchItem->GetCommand());
if (nCommand == SVX_SEARCHCMD_REPLACE_ALL)
bEndOfSearch = SearchAndReplaceAll ();
else