summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterSlideSorter.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-08-03 12:50:28 +0200
committerMichael Stahl <mstahl@redhat.com>2015-08-03 14:47:45 +0200
commit902d61bc7f2e0491b95798c2ece8595b3881b573 (patch)
tree0cccac094a864ac3f2421cd485088f6418b5da96 /sdext/source/presenter/PresenterSlideSorter.cxx
parent34d2a07a23f344b33f9b3ed7d2a70b405b392db6 (diff)
sdext: replace boost::function with std::function
This one is a bit odd, wonder if that was a bug: - aAction(aPredicate); + aAction(aPredicate()); Change-Id: I0ddd565b65fe4778a297486805fa7f7a12702224
Diffstat (limited to 'sdext/source/presenter/PresenterSlideSorter.cxx')
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index c1024c600706..e785f590a9f4 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -101,7 +101,7 @@ public:
const sal_Int32 nRelativeHorizontalPosition,
const sal_Int32 nRelativeVerticalPosition) const;
css::awt::Rectangle GetBoundingBox (const sal_Int32 nSlideIndex) const;
- void ForAllVisibleSlides (const ::boost::function<void(sal_Int32)>& rAction);
+ void ForAllVisibleSlides (const ::std::function<void (sal_Int32)>& rAction);
sal_Int32 GetFirstVisibleSlideIndex() const;
sal_Int32 GetLastVisibleSlideIndex() const;
bool SetHorizontalOffset (const double nOffset);
@@ -1394,7 +1394,8 @@ awt::Rectangle PresenterSlideSorter::Layout::GetBoundingBox (const sal_Int32 nSl
aWindowPosition.Y + maPreviewSize.Height));
}
-void PresenterSlideSorter::Layout::ForAllVisibleSlides (const ::boost::function<void(sal_Int32)>& rAction)
+void PresenterSlideSorter::Layout::ForAllVisibleSlides(
+ const ::std::function<void (sal_Int32)>& rAction)
{
for (sal_Int32 nRow=mnFirstVisibleRow; nRow<=mnLastVisibleRow; ++nRow)
{