diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 12:48:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:17:07 +0100 |
commit | 9ff5abf2e17e1f482a608c8c4a76b563fe8fe7e3 (patch) | |
tree | e074150783b29e3e8a884c2be93d15389f514c92 /editeng | |
parent | ea5b48e9da1ea750cc4549f7cd76771800101ed2 (diff) |
loplugin:privatebase: Make derivation from noncopyable explicitly private
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj2.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 9fca92792894..cf898df1c27d 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -233,7 +233,7 @@ public: // class ContentNode -class ContentNode : boost::noncopyable +class ContentNode : private boost::noncopyable { private: OUString maString; diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx index 1f0aa5ec6cc5..0e61edd35f4f 100644 --- a/editeng/source/editeng/editobj2.hxx +++ b/editeng/source/editeng/editobj2.hxx @@ -123,7 +123,7 @@ public: }; -class ContentInfo : boost::noncopyable +class ContentInfo : private boost::noncopyable { friend class EditTextObjectImpl; public: @@ -173,7 +173,7 @@ public: #endif }; -class EditTextObjectImpl : boost::noncopyable +class EditTextObjectImpl : private boost::noncopyable { public: typedef std::vector<std::unique_ptr<ContentInfo> > ContentInfosType; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index c8d2211e6884..84163cce9359 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -389,7 +389,7 @@ public: // ImpEditEngine -class ImpEditEngine : public SfxListener, boost::noncopyable +class ImpEditEngine : public SfxListener, private boost::noncopyable { friend class EditEngine; friend class EditDbg; |