Kaydet (Commit) f82da782 authored tarafından awf's avatar awf Kaydeden (comit) Thorsten Behrens

i118560 - slide sorter: pass PageSelector object by reference

 * found as LGPLv3-only fix at svn rev 1196092 (http://svn.apache.org/viewvc?view=revision&revision=1196092)
üst 825839b2
...@@ -1156,7 +1156,7 @@ void SlotManager::DuplicateSelectedSlides (SfxRequest& rRequest) ...@@ -1156,7 +1156,7 @@ void SlotManager::DuplicateSelectedSlides (SfxRequest& rRequest)
aPagesToSelect.end(), aPagesToSelect.end(),
::boost::bind( ::boost::bind(
static_cast<void (PageSelector::*)(const SdPage*)>(&PageSelector::SelectPage), static_cast<void (PageSelector::*)(const SdPage*)>(&PageSelector::SelectPage),
rSelector, ::boost::ref(rSelector),
_1)); _1));
} }
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XDrawPage.hpp>
#include <vector> #include <vector>
#include <memory> #include <memory>
#include <boost/noncopyable.hpp>
class SdPage; class SdPage;
...@@ -63,7 +65,7 @@ class SlideSorterController; ...@@ -63,7 +65,7 @@ class SlideSorterController;
Indices of pages relate allways to the number of all pages in the model Indices of pages relate allways to the number of all pages in the model
(as returned by GetPageCount()) not just the selected pages. (as returned by GetPageCount()) not just the selected pages.
*/ */
class PageSelector class PageSelector : private ::boost::noncopyable
{ {
public: public:
PageSelector (SlideSorter& rSlideSorter); PageSelector (SlideSorter& rSlideSorter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment