summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-11 12:48:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-11 13:17:07 +0100
commit9ff5abf2e17e1f482a608c8c4a76b563fe8fe7e3 (patch)
treee074150783b29e3e8a884c2be93d15389f514c92
parentea5b48e9da1ea750cc4549f7cd76771800101ed2 (diff)
loplugin:privatebase: Make derivation from noncopyable explicitly private
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
-rw-r--r--avmedia/source/vlc/wrapper/EventHandler.hxx2
-rw-r--r--avmedia/source/vlc/wrapper/EventManager.hxx2
-rw-r--r--avmedia/source/vlc/wrapper/ThreadsafeQueue.hxx4
-rw-r--r--basctl/source/inc/doceventnotifier.hxx2
-rw-r--r--chart2/source/view/inc/VDataSeries.hxx2
-rw-r--r--drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx6
-rw-r--r--editeng/source/editeng/editdoc.hxx2
-rw-r--r--editeng/source/editeng/editobj2.hxx4
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--extensions/source/update/check/updatehdl.hxx2
-rw-r--r--filter/source/svg/test/odfserializer.cxx2
-rw-r--r--sc/inc/chart2uno.hxx2
-rw-r--r--sc/inc/clipcontext.hxx2
-rw-r--r--sc/inc/columniterator.hxx2
-rw-r--r--sc/inc/columnspanset.hxx2
-rw-r--r--sc/inc/documentimport.hxx2
-rw-r--r--sc/inc/documentlinkmgr.hxx2
-rw-r--r--sc/inc/dpcache.hxx2
-rw-r--r--sc/inc/dpresfilter.hxx2
-rw-r--r--sc/inc/dptabsrc.hxx4
-rw-r--r--sc/inc/listenercontext.hxx6
-rw-r--r--sc/inc/table.hxx2
-rw-r--r--sc/inc/textuno.hxx2
-rw-r--r--sc/source/core/data/table3.cxx2
-rw-r--r--sc/source/core/inc/bcaslot.hxx2
-rw-r--r--sc/source/core/opencl/opbase.hxx2
-rw-r--r--sc/source/filter/inc/ftools.hxx2
-rw-r--r--sc/source/filter/inc/xehelper.hxx4
-rw-r--r--sc/source/filter/inc/xihelper.hxx6
-rw-r--r--sc/source/filter/inc/xltools.hxx2
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx2
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx2
-rw-r--r--sc/source/filter/xml/XMLExportIterator.hxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx2
-rw-r--r--sc/source/ui/inc/datastream.hxx2
-rw-r--r--sc/source/ui/inc/inputhdl.hxx2
-rw-r--r--sc/source/ui/inc/tabview.hxx2
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx2
-rw-r--r--sdext/source/presenter/PresenterCanvasHelper.hxx2
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx2
-rw-r--r--sdext/source/presenter/PresenterUIPainter.hxx2
-rw-r--r--sfx2/source/doc/docfile.cxx2
-rw-r--r--slideshow/source/inc/screenupdater.hxx2
-rw-r--r--svx/inc/AccessibleTableShape.hxx4
-rw-r--r--svx/source/table/accessiblecell.hxx2
-rw-r--r--sw/inc/calbck.hxx2
-rw-r--r--sw/source/core/doc/tblafmt.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
50 files changed, 61 insertions, 61 deletions
diff --git a/avmedia/source/vlc/wrapper/EventHandler.hxx b/avmedia/source/vlc/wrapper/EventHandler.hxx
index 0fd003351755..c5151987fa93 100644
--- a/avmedia/source/vlc/wrapper/EventHandler.hxx
+++ b/avmedia/source/vlc/wrapper/EventHandler.hxx
@@ -21,7 +21,7 @@ namespace vlc
{
namespace wrapper
{
- class EventHandler : public ::osl::Thread, boost::noncopyable
+ class EventHandler : public ::osl::Thread, private boost::noncopyable
{
public:
EventHandler();
diff --git a/avmedia/source/vlc/wrapper/EventManager.hxx b/avmedia/source/vlc/wrapper/EventManager.hxx
index 624b798daf1e..c3905fcc1a64 100644
--- a/avmedia/source/vlc/wrapper/EventManager.hxx
+++ b/avmedia/source/vlc/wrapper/EventManager.hxx
@@ -24,7 +24,7 @@ namespace vlc
namespace wrapper
{
class EventHandler;
- class EventManager : boost::noncopyable
+ class EventManager : private boost::noncopyable
{
public:
diff --git a/avmedia/source/vlc/wrapper/ThreadsafeQueue.hxx b/avmedia/source/vlc/wrapper/ThreadsafeQueue.hxx
index b37158c31bb0..b5a8934ac82f 100644
--- a/avmedia/source/vlc/wrapper/ThreadsafeQueue.hxx
+++ b/avmedia/source/vlc/wrapper/ThreadsafeQueue.hxx
@@ -31,7 +31,7 @@ namespace vlc
namespace wrapper
{
template<class T>
-class ThreadsafeQueue : boost::noncopyable
+class ThreadsafeQueue : private boost::noncopyable
{
public:
ThreadsafeQueue();
@@ -78,4 +78,4 @@ void ThreadsafeQueue<T>::pop( T& data )
}
#endif // INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_THREADSAFEQUEUE_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/doceventnotifier.hxx b/basctl/source/inc/doceventnotifier.hxx
index 9843639fdd3a..e3cda5a93855 100644
--- a/basctl/source/inc/doceventnotifier.hxx
+++ b/basctl/source/inc/doceventnotifier.hxx
@@ -34,7 +34,7 @@ namespace basctl
class ScriptDocument;
- class SAL_NO_VTABLE DocumentEventListener : ::boost::noncopyable
+ class SAL_NO_VTABLE DocumentEventListener : private ::boost::noncopyable
{
public:
virtual void onDocumentCreated( const ScriptDocument& _rDocument ) = 0;
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index 38da4c45e0d8..0d18b6eb64f4 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -56,7 +56,7 @@ public:
mutable css::uno::Sequence<double> Doubles;
};
-class VDataSeries final : boost::noncopyable
+class VDataSeries final : private boost::noncopyable
{
public:
VDataSeries( const css::uno::Reference<css::chart2::XDataSeries>& xDataSeries );
diff --git a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx
index 74cc5937b4bf..2148fa075bc8 100644
--- a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx
@@ -36,7 +36,7 @@ namespace drawinglayer
{
namespace // anonymous namespace
{
- class TubeBuffer : boost::noncopyable
+ class TubeBuffer : private boost::noncopyable
{
private:
// data for buffered tube primitives
@@ -118,7 +118,7 @@ namespace drawinglayer
return rTheBuffer.getLineTubeSegments(nSegments, rMaterial);
}
- class CapBuffer : boost::noncopyable
+ class CapBuffer : private boost::noncopyable
{
private:
// data for buffered cap primitives
@@ -193,7 +193,7 @@ namespace drawinglayer
return rTheBuffer.getLineCapSegments(nSegments, rMaterial);
}
- class CapRoundBuffer : boost::noncopyable
+ class CapRoundBuffer : private boost::noncopyable
{
private:
// data for buffered capround primitives
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;
diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx
index 10a30cf17a0a..8b76b8deddee 100644
--- a/extensions/source/update/check/updatehdl.hxx
+++ b/extensions/source/update/check/updatehdl.hxx
@@ -67,7 +67,7 @@ enum UpdateState {
UPDATESTATES_COUNT
};
-class UpdateHandler : ::boost::noncopyable,
+class UpdateHandler : private ::boost::noncopyable,
public cppu::WeakImplHelper< css::awt::XActionListener,
css::awt::XTopWindowListener,
css::task::XInteractionHandler,
diff --git a/filter/source/svg/test/odfserializer.cxx b/filter/source/svg/test/odfserializer.cxx
index 3f0683a8aebd..b4b78c40b2c2 100644
--- a/filter/source/svg/test/odfserializer.cxx
+++ b/filter/source/svg/test/odfserializer.cxx
@@ -35,7 +35,7 @@ typedef ::cppu::WeakComponentImplHelper<
class ODFSerializer : private cppu::BaseMutex,
public ODFSerializerBase,
- boost::noncopyable
+ private boost::noncopyable
{
public:
explicit ODFSerializer(const uno::Reference<io::XOutputStream>& xOut) :
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 1ab54d9a48af..9742908e8286 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -236,7 +236,7 @@ class ScChart2DataSequence : public
css::beans::XPropertySet,
css::lang::XServiceInfo>,
SfxListener,
- boost::noncopyable
+ private boost::noncopyable
{
public:
explicit ScChart2DataSequence( ScDocument* pDoc,
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx
index 783c6bd49728..9bbd55c54b35 100644
--- a/sc/inc/clipcontext.hxx
+++ b/sc/inc/clipcontext.hxx
@@ -29,7 +29,7 @@ namespace sc {
struct ColumnBlockPosition;
class ColumnBlockPositionSet;
-class ClipContextBase : boost::noncopyable
+class ClipContextBase : private boost::noncopyable
{
std::unique_ptr<ColumnBlockPositionSet> mpSet;
diff --git a/sc/inc/columniterator.hxx b/sc/inc/columniterator.hxx
index daac219c587d..1cc9d95fe16c 100644
--- a/sc/inc/columniterator.hxx
+++ b/sc/inc/columniterator.hxx
@@ -14,7 +14,7 @@
#include "column.hxx"
-class ScColumnTextWidthIterator : boost::noncopyable
+class ScColumnTextWidthIterator : private boost::noncopyable
{
sc::CellTextAttrStoreType& mrCellTextAttrs;
const size_t mnEnd;
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 92c78c948467..23dbf2163549 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -47,7 +47,7 @@ struct SC_DLLPUBLIC ColRowSpan
* Structure that stores segments of boolean flags per column, and perform
* custom action on those segments.
*/
-class ColumnSpanSet : boost::noncopyable
+class ColumnSpanSet : private boost::noncopyable
{
public:
typedef mdds::flat_segment_tree<SCROW, bool> ColumnSpansType;
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index 66ffaac8e6c8..fc1c7c41a9a5 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -38,7 +38,7 @@ enum class SvtScriptType;
* position calculation, or anything else that requires expensive
* computation which are unnecessary and undesirable during import.
*/
-class SC_DLLPUBLIC ScDocumentImport : boost::noncopyable
+class SC_DLLPUBLIC ScDocumentImport : private boost::noncopyable
{
std::unique_ptr<ScDocumentImportImpl> mpImpl;
diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx
index 3f9cc0c7a4cd..d500214acf01 100644
--- a/sc/inc/documentlinkmgr.hxx
+++ b/sc/inc/documentlinkmgr.hxx
@@ -29,7 +29,7 @@ namespace sc {
class DataStream;
struct DocumentLinkManagerImpl;
-class DocumentLinkManager : boost::noncopyable
+class DocumentLinkManager : private boost::noncopyable
{
std::unique_ptr<DocumentLinkManagerImpl> mpImpl;
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx
index 9422b76faccc..2329f76a2f78 100644
--- a/sc/inc/dpcache.hxx
+++ b/sc/inc/dpcache.hxx
@@ -41,7 +41,7 @@ struct ScDPNumGroupInfo;
* This class represents the cached data part of the datapilot cache table
* implementation.
*/
-class SC_DLLPUBLIC ScDPCache : boost::noncopyable
+class SC_DLLPUBLIC ScDPCache : private boost::noncopyable
{
typedef std::unordered_set<OUString, OUStringHash> StringSetType;
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx
index 9ff9ed4eee0d..dcab2f77fbd8 100644
--- a/sc/inc/dpresfilter.hxx
+++ b/sc/inc/dpresfilter.hxx
@@ -46,7 +46,7 @@ struct ScDPResultFilter
* <p>If the pivot table layout only consists of either column or row
* dimensions, the root node only has one child node.</p>
*/
-class ScDPResultTree : boost::noncopyable
+class ScDPResultTree : private boost::noncopyable
{
public:
typedef std::vector<double> ValuesType;
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 54dd48beb415..e6966232acec 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -299,7 +299,7 @@ public:
ScDPDimension* getByIndex(long nIndex) const;
};
-class ScDPDimension : boost::noncopyable, public cppu::WeakImplHelper<
+class ScDPDimension : private boost::noncopyable, public cppu::WeakImplHelper<
css::sheet::XHierarchiesSupplier,
css::container::XNamed,
css::util::XCloneable,
@@ -706,7 +706,7 @@ public:
SCROW GetSrcItemsCount();
};
-class ScDPMember : boost::noncopyable, public cppu::WeakImplHelper<
+class ScDPMember : private boost::noncopyable, public cppu::WeakImplHelper<
css::container::XNamed,
css::beans::XPropertySet,
css::lang::XServiceInfo >
diff --git a/sc/inc/listenercontext.hxx b/sc/inc/listenercontext.hxx
index 0ecbd8b2b50b..1ba1166bc5c5 100644
--- a/sc/inc/listenercontext.hxx
+++ b/sc/inc/listenercontext.hxx
@@ -24,7 +24,7 @@ namespace sc {
struct ColumnBlockPosition;
class ColumnBlockPositionSet;
-class StartListeningContext : boost::noncopyable
+class StartListeningContext : private boost::noncopyable
{
ScDocument& mrDoc;
std::shared_ptr<ColumnBlockPositionSet> mpSet;
@@ -36,7 +36,7 @@ public:
ColumnBlockPosition* getBlockPosition(SCTAB nTab, SCCOL nCol);
};
-class EndListeningContext : boost::noncopyable
+class EndListeningContext : private boost::noncopyable
{
ScDocument& mrDoc;
ColumnSpanSet maSet;
@@ -60,7 +60,7 @@ public:
void purgeEmptyBroadcasters();
};
-class PurgeListenerAction : public ColumnSpanSet::Action, boost::noncopyable
+class PurgeListenerAction : public ColumnSpanSet::Action, private boost::noncopyable
{
ScDocument& mrDoc;
std::unique_ptr<ColumnBlockPosition> mpBlockPos;
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index da2876f5a366..0efff488773c 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -114,7 +114,7 @@ class ScDBData;
class ScDocumentImport;
class ScHint;
-class ScTable : boost::noncopyable
+class ScTable : private boost::noncopyable
{
private:
typedef ::std::vector< ScRange > ScRangeVec;
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index defb6d656abd..86297586fa27 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -108,7 +108,7 @@ public:
// ScHeaderFooterTextData: shared data between sub objects of a ScHeaderFooterTextObj
-class ScHeaderFooterTextData : boost::noncopyable
+class ScHeaderFooterTextData : private boost::noncopyable
{
private:
EditTextObject* mpTextObj;
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 83e8bdf4820f..b9ab8ca0b7e5 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -219,7 +219,7 @@ struct ScSortInfo
};
IMPL_FIXEDMEMPOOL_NEWDEL( ScSortInfo )
-class ScSortInfoArray : boost::noncopyable
+class ScSortInfoArray : private boost::noncopyable
{
public:
diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx
index fec60cd193df..8221af1a8d4a 100644
--- a/sc/source/core/inc/bcaslot.hxx
+++ b/sc/source/core/inc/bcaslot.hxx
@@ -54,7 +54,7 @@ struct AreaListener
Used in a Unique Associative Container.
*/
-class ScBroadcastArea : boost::noncopyable
+class ScBroadcastArea : private boost::noncopyable
{
private:
ScBroadcastArea* pUpdateChainNext;
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx
index 6401e190a1ba..ec1afafd3972 100644
--- a/sc/source/core/opencl/opbase.hxx
+++ b/sc/source/core/opencl/opbase.hxx
@@ -81,7 +81,7 @@ private:
};
/// (Partially) abstract base class for an operand
-class DynamicKernelArgument : boost::noncopyable
+class DynamicKernelArgument : private boost::noncopyable
{
public:
DynamicKernelArgument( const ScCalcConfig& config, const std::string& s, FormulaTreeNodeRef ft );
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx
index 0a9667a36769..51eeedca4fca 100644
--- a/sc/source/filter/inc/ftools.hxx
+++ b/sc/source/filter/inc/ftools.hxx
@@ -121,7 +121,7 @@ class ScStyleSheetPool;
class SvStream;
/** Contains static methods used anywhere in the filters. */
-class ScfTools : boost::noncopyable
+class ScfTools : private boost::noncopyable
{
public:
diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx
index af40492984d7..cb748546f0cc 100644
--- a/sc/source/filter/inc/xehelper.hxx
+++ b/sc/source/filter/inc/xehelper.hxx
@@ -209,7 +209,7 @@ class ScPatternAttr;
/** This class provides methods to create an XclExpString.
@descr The string can be created from an edit engine text object or
directly from a Calc edit cell. */
-class XclExpStringHelper : boost::noncopyable
+class XclExpStringHelper : private boost::noncopyable
{
public:
/** Creates a new unformatted string from the passed string.
@@ -393,7 +393,7 @@ private:
/** This class contains static methods to encode a file URL.
@descr Excel stores URLs in a format that contains special control characters,
i.e. for directory separators or volume names. */
-class XclExpUrlHelper : boost::noncopyable
+class XclExpUrlHelper : private boost::noncopyable
{
public:
/** Encodes and returns the URL passed in rAbsUrl to an Excel like URL.
diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx
index 4e54d7c3ab2d..08fb98635435 100644
--- a/sc/source/filter/inc/xihelper.hxx
+++ b/sc/source/filter/inc/xihelper.hxx
@@ -105,7 +105,7 @@ class EditTextObject;
/** This class provides methods to convert an XclImpString.
@The string can be converted to an edit engine text object or directly
to a Calc edit cell. */
-class XclImpStringHelper : boost::noncopyable
+class XclImpStringHelper : private boost::noncopyable
{
public:
/** Returns a new edit engine text object.
@@ -247,7 +247,7 @@ private:
/** This class contains static methods to decode an URL stored in an Excel file.
@descr Excel URLs can contain a sheet name, for instance: path\[test.xls]Sheet1
This sheet name will be extracted automatically. */
-class XclImpUrlHelper : boost::noncopyable
+class XclImpUrlHelper : private boost::noncopyable
{
public:
/** Decodes an encoded external document URL with optional sheet name.
@@ -292,7 +292,7 @@ class ScTokenArray;
/** This class stores one cached value of a cached value list (used for instance in
CRN, EXTERNNAME, tArray). */
-class XclImpCachedValue : boost::noncopyable
+class XclImpCachedValue : private boost::noncopyable
{
public:
/** Creates a cached value and reads contents from stream and stores it with its array address. */
diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx
index 67c8f3ca4966..7e203f7c8b7c 100644
--- a/sc/source/filter/inc/xltools.hxx
+++ b/sc/source/filter/inc/xltools.hxx
@@ -76,7 +76,7 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclGuid& rGuid );
// Excel Tools ================================================================
/** This class contains static helper methods for the Excel import and export filters. */
-class XclTools : boost::noncopyable
+class XclTools : private boost::noncopyable
{
public:
// GUID's -----------------------------------------------------------------
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 4e82ea667769..ba14600def57 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -47,7 +47,7 @@ namespace {
* Cache the token array for the last cell position in each column. We use
* one cache per sheet.
*/
-class CachedTokenArray : boost::noncopyable
+class CachedTokenArray : private boost::noncopyable
{
public:
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 27bee11b41c2..ec76d54822e9 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -110,7 +110,7 @@ bool IgnoreCaseCompare::operator()( const OUString& rName1, const OUString& rNam
return rName1.compareToIgnoreAsciiCase(rName2 ) < 0;
}
-class WorkbookGlobals : boost::noncopyable
+class WorkbookGlobals : private boost::noncopyable
{
public:
explicit WorkbookGlobals( ExcelFilter& rFilter );
diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx
index 1036136bda03..379760fb7c3a 100644
--- a/sc/source/filter/xml/XMLExportIterator.hxx
+++ b/sc/source/filter/xml/XMLExportIterator.hxx
@@ -315,7 +315,7 @@ struct ScMyCell
~ScMyCell();
};
-class ScMyNotEmptyCellsIterator : boost::noncopyable
+class ScMyNotEmptyCellsIterator : private boost::noncopyable
{
css::uno::Reference<css::sheet::XSpreadsheet> xTable;
css::uno::Reference<css::table::XCellRange> xCellRange;
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index 882f1f0edfb6..043230143506 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -820,7 +820,7 @@ typedef std::vector<ScMyImportValidation> ScMyImportValidations;
class ScMyStylesImportHelper;
class ScXMLEditAttributeMap;
-class ScXMLImport: public SvXMLImport, boost::noncopyable
+class ScXMLImport: public SvXMLImport, private boost::noncopyable
{
typedef std::unordered_map< OUString, sal_Int16, OUStringHash > CellTypeMap;
typedef ::std::map<SCTAB, std::unique_ptr<ScMyNamedExpressions>> SheetNamedExpMap;
diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx
index 48323642f207..cf9b93d21abd 100644
--- a/sc/source/ui/inc/datastream.hxx
+++ b/sc/source/ui/inc/datastream.hxx
@@ -33,7 +33,7 @@ namespace datastreams {
class ReaderThread;
}
-class DataStream : boost::noncopyable
+class DataStream : private boost::noncopyable
{
public:
struct Cell
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 52986836d822..f643b64b25b4 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -52,7 +52,7 @@ struct ESelection;
// ScInputHandler
-class ScInputHandler : boost::noncopyable
+class ScInputHandler : private boost::noncopyable
{
private:
VclPtr<ScInputWindow> pInputWin;
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index ddc89eec1f9b..3b0c9093ca6f 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -80,7 +80,7 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
};
-class ScTabView : boost::noncopyable
+class ScTabView : private boost::noncopyable
{
private:
enum BlockMode { None = 0, Normal = 1, Own = 2 };
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 673055984fed..8bd6ebc2b52c 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -426,7 +426,7 @@ vector<ScTokenRef> Chart2PositionMap::getDataRowRanges(SCROW nRow) const
* Designed to be a drop-in replacement for ScChartPositioner, in order to
* handle external references.
*/
-class Chart2Positioner : boost::noncopyable
+class Chart2Positioner : private boost::noncopyable
{
enum GlueType
{
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
index 063aec3a393f..4917321123d3 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
@@ -38,7 +38,7 @@ class ResourceFactoryManager;
/** Manage the set of active resources. Activate and deactivate resources.
*/
class ConfigurationControllerResourceManager
- : ::boost::noncopyable
+ : private ::boost::noncopyable
{
public:
/** For every active resource both the resource itself as well as its
diff --git a/sdext/source/presenter/PresenterCanvasHelper.hxx b/sdext/source/presenter/PresenterCanvasHelper.hxx
index 35a813e95532..5b66623f8f4c 100644
--- a/sdext/source/presenter/PresenterCanvasHelper.hxx
+++ b/sdext/source/presenter/PresenterCanvasHelper.hxx
@@ -35,7 +35,7 @@ namespace sdext { namespace presenter {
/** Collection of functions to ease the life of a canvas user.
*/
class PresenterCanvasHelper
- : ::boost::noncopyable
+ : private ::boost::noncopyable
{
public:
PresenterCanvasHelper();
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index ad7d6a4b4903..1df8d94b322b 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -135,7 +135,7 @@ private:
//==== PresenterSlideSorter::MouseOverManager =================================
class PresenterSlideSorter::MouseOverManager
- : ::boost::noncopyable
+ : private ::boost::noncopyable
{
public:
MouseOverManager (
diff --git a/sdext/source/presenter/PresenterUIPainter.hxx b/sdext/source/presenter/PresenterUIPainter.hxx
index c1461489817a..df1bf1177c3b 100644
--- a/sdext/source/presenter/PresenterUIPainter.hxx
+++ b/sdext/source/presenter/PresenterUIPainter.hxx
@@ -31,7 +31,7 @@ namespace sdext { namespace presenter {
/** Functions for painting UI elements.
*/
class PresenterUIPainter
- : ::boost::noncopyable
+ : private ::boost::noncopyable
{
public:
PresenterUIPainter();
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index bbca97044bde..6c827ddfd2a3 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -166,7 +166,7 @@ bool IsLockingUsed()
} // anonymous namespace
-class SfxMedium_Impl : boost::noncopyable
+class SfxMedium_Impl : private boost::noncopyable
{
public:
StreamMode m_nStorOpenMode;
diff --git a/slideshow/source/inc/screenupdater.hxx b/slideshow/source/inc/screenupdater.hxx
index 2fbf42683017..85075e870e1a 100644
--- a/slideshow/source/inc/screenupdater.hxx
+++ b/slideshow/source/inc/screenupdater.hxx
@@ -42,7 +42,7 @@ namespace slideshow
objects report any pending update, commitUpdates() does
nothing.
*/
- class ScreenUpdater : boost::noncopyable
+ class ScreenUpdater : private boost::noncopyable
{
public:
explicit ScreenUpdater( UnoViewContainer const& rViewContainer );
diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx
index 68ce6eb3163d..ea152b56f34e 100644
--- a/svx/inc/AccessibleTableShape.hxx
+++ b/svx/inc/AccessibleTableShape.hxx
@@ -51,7 +51,7 @@ namespace accessibility
> AccessibleTableShape_Base;
/** @descr
*/
-class AccessibleTableShape : boost::noncopyable, public AccessibleTableShape_Base, public css::accessibility::XAccessibleTableSelection
+class AccessibleTableShape : private boost::noncopyable, public AccessibleTableShape_Base, public css::accessibility::XAccessibleTableSelection
{
public:
AccessibleTableShape( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo );
@@ -159,7 +159,7 @@ typedef ::cppu::WeakImplHelper<
css::accessibility::XAccessibleTableSelection >
AccessibleTableHeaderShape_BASE;
-class AccessibleTableHeaderShape : boost::noncopyable,
+class AccessibleTableHeaderShape : private boost::noncopyable,
public MutexOwner,
public AccessibleTableHeaderShape_BASE
{
diff --git a/svx/source/table/accessiblecell.hxx b/svx/source/table/accessiblecell.hxx
index 8e51491572da..12e61c36d00a 100644
--- a/svx/source/table/accessiblecell.hxx
+++ b/svx/source/table/accessiblecell.hxx
@@ -48,7 +48,7 @@ class AccessibleShapeTreeInfo;
typedef ::cppu::ImplInheritanceHelper< AccessibleContextBase, css::accessibility::XAccessibleExtendedComponent > AccessibleCellBase;
-class AccessibleCell : boost::noncopyable, public AccessibleCellBase, public AccessibleComponentBase, public IAccessibleViewForwarderListener
+class AccessibleCell : private boost::noncopyable, public AccessibleCellBase, public AccessibleComponentBase, public IAccessibleViewForwarderListener
{
public:
AccessibleCell( const css::uno::Reference< css::accessibility::XAccessible>& rxParent, const sdr::table::CellRef& rCell, sal_Int32 nIndex, const AccessibleShapeTreeInfo& rShapeTreeInfo);
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index 3df1f69cf0ae..c0c260860c9b 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -72,7 +72,7 @@ namespace sw
const SfxPoolItem* m_pNew;
};
/// refactoring out the some of the more sane SwClient functionality
- class SW_DLLPUBLIC WriterListener : ::boost::noncopyable
+ class SW_DLLPUBLIC WriterListener : private ::boost::noncopyable
{
friend class ::SwModify;
friend class ::sw::ClientIteratorBase;
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 9ba7ebd883a2..59ee44244fc1 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -130,7 +130,7 @@ namespace
See also: BeginSwBlock and EndSwBlock.
*/
- class WriterSpecificAutoFormatBlock : ::boost::noncopyable
+ class WriterSpecificAutoFormatBlock : private ::boost::noncopyable
{
public:
explicit WriterSpecificAutoFormatBlock(SvStream &rStream) : _rStream(rStream)
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 2dae4927f2c4..b605c02a74db 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -439,7 +439,7 @@ OUString BasicProjImportHelper::getProjectName()
return sProjName;
}
-class Sttb : TBBase, private boost::noncopyable
+class Sttb : public TBBase, private boost::noncopyable
{
struct SBBItem
{
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index e547b8660b8c..c95076fcc66c 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -42,7 +42,7 @@ namespace packages = com::sun::star::packages;
namespace
{
-class PositionHolder : boost::noncopyable
+class PositionHolder : private boost::noncopyable
{
public:
explicit PositionHolder(const Reference<XSeekable> &rxSeekable);