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 /sc | |
parent | ea5b48e9da1ea750cc4549f7cd76771800101ed2 (diff) |
loplugin:privatebase: Make derivation from noncopyable explicitly private
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
Diffstat (limited to 'sc')
27 files changed, 33 insertions, 33 deletions
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 { |