summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx')
-rw-r--r--sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
index 74ceb59bb0d6..58a8c4321c8b 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
#include "model/SlideSorterModel.hxx"
#include "model/SlsPageDescriptor.hxx"
@@ -27,7 +30,7 @@ using namespace ::sd::slidesorter::model;
namespace {
class PageEnumerationImpl
- : public Enumeration<SharedPageDescriptor>
+ : public Enumeration<SharedPageDescriptor>, private boost::noncopyable
{
public:
inline PageEnumerationImpl (
@@ -62,9 +65,6 @@ private:
one pointed to by mnIndex.
*/
inline void AdvanceToNextValidElement (void);
-
- // Assignment operator not implemented.
- PageEnumerationImpl& operator= (const PageEnumerationImpl&);
};
} // end of anonymouse namespace