summaryrefslogtreecommitdiff
path: root/sw/inc/breakit.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-03-23 12:59:23 +0100
committerMichael Stahl <mstahl@redhat.com>2016-03-23 15:51:51 +0100
commitbbf3083e0d9645a8862dec1957f34a26f123fa6f (patch)
tree4cb02f5b042790fdd8ac04c8f95edbc0ec424248 /sw/inc/breakit.hxx
parent7b08ccceffac5b5df904f84ca0b5aa646d6bd00e (diff)
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
Diffstat (limited to 'sw/inc/breakit.hxx')
-rw-r--r--sw/inc/breakit.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index dd2ba2dafc8f..9145517ead40 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_INC_BREAKIT_HXX
#define INCLUDED_SW_INC_BREAKIT_HXX
-#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
@@ -31,7 +30,7 @@
enum class SvtScriptType;
-class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable
+class SW_DLLPUBLIC SwBreakIt
{
css::uno::Reference< css::uno::XComponentContext > m_xContext;
mutable css::uno::Reference< css::i18n::XBreakIterator > xBreak;
@@ -47,6 +46,9 @@ class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable
void createBreakIterator() const;
+ SwBreakIt(SwBreakIt const&) = delete;
+ SwBreakIt& operator=(SwBreakIt const&) = delete;
+
// private (see @ _Create, _Delete).
explicit SwBreakIt(
const css::uno::Reference< css::uno::XComponentContext > & rxContext);