summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mst@apache.org>2011-09-17 21:44:00 +0000
committerMichael Stahl <mst@apache.org>2011-09-17 21:44:00 +0000
commit5d3643b873f58ab23921e6c65aefb50f47966224 (patch)
tree1bacbd8e695083ae28f5c3a4e5137d98d4007144 /sd
parent0c0b5e979b0bb6acca52cdec4d45c00762f6e554 (diff)
slidesorter1: #i116014# Fixed some minor compilation problems.
# HG changeset patch # User Andre Fischer<andre.f.fischer@oracle.com> # Date 1302596156 -7200 # Node ID 53201f3ec8c74141923d041a951ae220f5efaa02 # Parent 6a7a8a3a4618b52b16c5fe48bea1fcae6aab7483
Diffstat (limited to 'sd')
-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