diff options
Diffstat (limited to 'sd/source/ui/slidesorter/model')
4 files changed, 13 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx index d439ac4da0a6..57c887d6f02c 100644 --- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx +++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -248,7 +249,7 @@ sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSli { try { - const Any aNumber (xSet->getPropertyValue(::rtl::OUString::createFromAscii("Number"))); + const Any aNumber (xSet->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Number")))); sal_Int16 nNumber (-1); aNumber >>= nNumber; nNumber -= 1; @@ -735,3 +736,5 @@ SdPage* SlideSorterModel::GetPage (const sal_Int32 nSdIndex) const } } } // end of namespace ::sd::slidesorter::model + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx index f498f1b01e5b..bb1beb58f2ff 100644 --- a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -287,3 +288,5 @@ void PageDescriptor::SetBoundingBox (const Rectangle& rBoundingBox) } } } // end of namespace ::sd::slidesorter::model + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx index 0e472c04880e..3eac80cbd5b0 100644 --- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -282,3 +283,4 @@ void PageEnumerationImpl::AdvanceToNextValidElement (void) } // end of anonymous namespace +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx index 3a25989f084e..98240924a75c 100755 --- a/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -40,7 +41,7 @@ namespace { class AllPagesPredicate { public: - bool operator() (const SharedPageDescriptor& rpDescriptor) + bool operator() (const SharedPageDescriptor& rpDescriptor) const { (void)rpDescriptor; return true; @@ -80,7 +81,6 @@ public: PageEnumeration PageEnumerationProvider::CreateAllPagesEnumeration ( const SlideSorterModel& rModel) { -// AllPagesPredicate aPredicate; // spurious warning on unxsoli4 debug=t return PageEnumeration::Create(rModel, AllPagesPredicate()); } @@ -108,3 +108,5 @@ PageEnumeration PageEnumerationProvider::CreateVisiblePagesEnumeration ( } } } // end of namespace ::sd::slidesorter::model + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |