Kaydet (Commit) 034f2e1a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: I1e61d3553795ed8e2b7bc6fa3d1c0f881e777b08
üst cd5c0adf
......@@ -37,8 +37,7 @@ namespace rptui
friend class OModuleClient;
private:
OModule();
// not implemented. OModule is a static class
OModule() SAL_DELETED_FUNCTION; //TODO: get rid of this class
protected:
static sal_Int32 s_nClients; /// number of registered clients
......
......@@ -49,8 +49,8 @@ namespace rptui
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> m_xDest;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> m_xDestInfo;
bool m_bInChange;
OPropertyMediator(OPropertyMediator&);
void operator =(OPropertyMediator&);
OPropertyMediator(OPropertyMediator&) SAL_DELETED_FUNCTION;
void operator =(OPropertyMediator&) SAL_DELETED_FUNCTION;
protected:
virtual ~OPropertyMediator();
......
......@@ -96,8 +96,8 @@ namespace reportdesign
::boost::shared_ptr<OReportDefinitionImpl> m_pImpl;
private:
OReportDefinition(const OReportDefinition&);
OReportDefinition& operator=(const OReportDefinition&);
OReportDefinition(const OReportDefinition&) SAL_DELETED_FUNCTION;
OReportDefinition& operator=(const OReportDefinition&) SAL_DELETED_FUNCTION;
void setSection( const OUString& _sProperty
,const bool& _bOn
......
......@@ -49,8 +49,8 @@ private:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel() SAL_OVERRIDE;
OReportModel( const OReportModel& );
void operator=(const OReportModel& rSrcModel);
OReportModel( const OReportModel& ) SAL_DELETED_FUNCTION;
void operator=(const OReportModel& rSrcModel) SAL_DELETED_FUNCTION;
public:
TYPEINFO_OVERRIDE();
......
......@@ -54,8 +54,8 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo
DlgEdHintKind eHintKind;
OUnoObject* pDlgEdObj;
DlgEdHint(DlgEdHint&);
void operator =(DlgEdHint&);
DlgEdHint(DlgEdHint&) SAL_DELETED_FUNCTION;
void operator =(DlgEdHint&) SAL_DELETED_FUNCTION;
public:
DlgEdHint( DlgEdHintKind eHint );
virtual ~DlgEdHint();
......
......@@ -62,8 +62,8 @@ namespace rptui
class REPORTDESIGN_DLLPUBLIC OGroupHelper
{
::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > m_xGroup;
OGroupHelper(const OGroupHelper&);
OGroupHelper& operator=(const OGroupHelper&);
OGroupHelper(const OGroupHelper&) SAL_DELETED_FUNCTION;
OGroupHelper& operator=(const OGroupHelper&) SAL_DELETED_FUNCTION;
public:
OGroupHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xGroup)
:m_xGroup(_xGroup)
......@@ -171,8 +171,8 @@ namespace rptui
class REPORTDESIGN_DLLPUBLIC OUndoContainerAction: public OCommentUndoAction
{
OUndoContainerAction(OUndoContainerAction&);
void operator =(OUndoContainerAction&);
OUndoContainerAction(OUndoContainerAction&) SAL_DELETED_FUNCTION;
void operator =(OUndoContainerAction&) SAL_DELETED_FUNCTION;
protected:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
m_xElement; // object not owned by the action
......
......@@ -42,8 +42,8 @@ namespace rptui
{
const ::std::unique_ptr<OXUndoEnvironmentImpl> m_pImpl;
OXUndoEnvironment(const OXUndoEnvironment&);
OXUndoEnvironment& operator=(const OXUndoEnvironment&);
OXUndoEnvironment(const OXUndoEnvironment&) SAL_DELETED_FUNCTION;
OXUndoEnvironment& operator=(const OXUndoEnvironment&) SAL_DELETED_FUNCTION;
protected:
virtual ~OXUndoEnvironment();
......
......@@ -100,9 +100,8 @@ namespace rptui
static size_t getKnownConditionalExpressions( ConditionalExpressions& _out_rCondExp );
private:
ConditionalExpressionFactory(); // never implemented
ConditionalExpressionFactory( const ConditionalExpressionFactory& ); // never implemented
ConditionalExpressionFactory& operator=( const ConditionalExpressionFactory& ); // never implemented
ConditionalExpressionFactory( const ConditionalExpressionFactory& ) SAL_DELETED_FUNCTION;
ConditionalExpressionFactory& operator=( const ConditionalExpressionFactory& ) SAL_DELETED_FUNCTION;
};
} // namespace rptui
......
......@@ -548,24 +548,6 @@ struct OReportDefinitionImpl
,m_bSetModifiedEnabled( true )
{}
OReportDefinitionImpl(::osl::Mutex& _aMutex,const OReportDefinitionImpl& _aCopy)
:m_aStorageChangeListeners(_aMutex)
,m_aCloseListener(_aMutex)
,m_aModifyListeners(_aMutex)
,m_aDocEventListeners(_aMutex)
,m_sMimeType(_aCopy.m_sMimeType)
,m_sIdentifier(_aCopy.m_sIdentifier)
,m_aVisualAreaSize(_aCopy.m_aVisualAreaSize)
,m_nAspect(_aCopy.m_nAspect)
,m_nGroupKeepTogether(_aCopy.m_nGroupKeepTogether)
,m_nPageHeaderOption(_aCopy.m_nPageHeaderOption)
,m_nPageFooterOption(_aCopy.m_nPageFooterOption)
,m_nCommandType(_aCopy.m_nCommandType)
,m_bControllersLocked(_aCopy.m_bControllersLocked)
,m_bModified(_aCopy.m_bModified)
,m_bEscapeProcessing(_aCopy.m_bEscapeProcessing)
,m_bSetModifiedEnabled(_aCopy.m_bSetModifiedEnabled)
{}
~OReportDefinitionImpl();
};
......@@ -611,35 +593,6 @@ OReportDefinition::OReportDefinition(uno::Reference< uno::XComponentContext > co
osl_atomic_decrement( &m_refCount );
}
OReportDefinition::OReportDefinition(const OReportDefinition& _rCopy)
: cppu::BaseMutex()
,ReportDefinitionBase(m_aMutex)
,ReportDefinitionPropertySet(_rCopy.m_aProps->m_xContext,static_cast< Implements >(IMPLEMENTS_PROPERTY_SET),uno::Sequence< OUString >())
,comphelper::IEmbeddedHelper()
,m_aProps(new OReportComponentProperties(*_rCopy.m_aProps))
,m_pImpl(new OReportDefinitionImpl(m_aMutex,*_rCopy.m_pImpl))
{
osl_atomic_increment(&m_refCount);
{
init();
OGroups* pGroups = new OGroups(this,m_aProps->m_xContext);
m_pImpl->m_xGroups = pGroups;
pGroups->copyGroups(_rCopy.m_pImpl->m_xGroups);
m_pImpl->m_xDetail = OSection::createOSection(this,m_aProps->m_xContext);
OSection::lcl_copySection(_rCopy.m_pImpl->m_xDetail,m_pImpl->m_xDetail);
setPageHeaderOn(_rCopy.m_pImpl->m_xPageHeader.is());
setPageFooterOn(_rCopy.m_pImpl->m_xPageFooter.is());
setReportHeaderOn(_rCopy.m_pImpl->m_xReportHeader.is());
setReportFooterOn(_rCopy.m_pImpl->m_xReportFooter.is());
OSection::lcl_copySection(_rCopy.m_pImpl->m_xPageHeader,m_pImpl->m_xPageHeader);
OSection::lcl_copySection(_rCopy.m_pImpl->m_xPageFooter,m_pImpl->m_xPageFooter);
OSection::lcl_copySection(_rCopy.m_pImpl->m_xReportHeader,m_pImpl->m_xReportHeader);
OSection::lcl_copySection(_rCopy.m_pImpl->m_xReportFooter,m_pImpl->m_xReportFooter);
}
osl_atomic_decrement( &m_refCount );
}
OReportDefinition::~OReportDefinition()
{
if ( !ReportDefinitionBase::rBHelper.bInDispose && !ReportDefinitionBase::rBHelper.bDisposed )
......
......@@ -119,8 +119,6 @@ OSection::OSection(const uno::Reference< report::XReportDefinition >& xParentDef
,m_nForceNewPage(report::ForceNewPage::NONE)
,m_nNewRowOrCol(report::ForceNewPage::NONE)
,m_bKeepTogether(false)
,m_bCanGrow(false)
,m_bCanShrink(false)
,m_bRepeatSection(false)
,m_bVisible(true)
,m_bBacktransparent(true)
......
......@@ -52,8 +52,8 @@ namespace reportdesign
::sal_Int32 m_LineWidth;
private:
OFixedLine(const OFixedLine&);
OFixedLine& operator=(const OFixedLine&);
OFixedLine(const OFixedLine&) SAL_DELETED_FUNCTION;
OFixedLine& operator=(const OFixedLine&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -47,8 +47,8 @@ namespace reportdesign
OReportControlModel m_aProps;
OUString m_sLabel;
private:
OFixedText(const OFixedText&);
OFixedText& operator=(const OFixedText&);
OFixedText(const OFixedText&) SAL_DELETED_FUNCTION;
OFixedText& operator=(const OFixedText&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -45,8 +45,8 @@ namespace reportdesign
OUString m_sFormula;
bool m_bEnabled;
private:
OFormatCondition(const OFormatCondition&);
OFormatCondition& operator=(const OFormatCondition&);
OFormatCondition(const OFormatCondition&) SAL_DELETED_FUNCTION;
OFormatCondition& operator=(const OFormatCondition&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -50,8 +50,8 @@ namespace reportdesign
::sal_Int32 m_nFormatKey;
private:
OFormattedField(const OFormattedField&);
OFormattedField& operator=(const OFormattedField&);
OFormattedField(const OFormattedField&) SAL_DELETED_FUNCTION;
OFormattedField& operator=(const OFormattedField&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -48,8 +48,8 @@ namespace reportdesign
bool m_bPreEvaluated;
bool m_bDeepTraversing;
private:
OFunction(const OFunction&);
OFunction& operator=(const OFunction&);
OFunction(const OFunction&) SAL_DELETED_FUNCTION;
OFunction& operator=(const OFunction&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -43,8 +43,8 @@ namespace reportdesign
::com::sun::star::uno::WeakReference< ::com::sun::star::report::XFunctionsSupplier > m_xParent;
TFunctions m_aFunctions;
private:
OFunctions& operator=(const OFunctions&);
OFunctions(const OFunctions&);
OFunctions& operator=(const OFunctions&) SAL_DELETED_FUNCTION;
OFunctions(const OFunctions&) SAL_DELETED_FUNCTION;
void checkIndex(sal_Int32 _nIndex);
protected:
// TODO: VirtualFunctionFinder: This is virtual function!
......
......@@ -51,8 +51,8 @@ namespace reportdesign
::rptshared::GroupProperties m_aProps;
private:
OGroup& operator=(const OGroup&);
OGroup(const OGroup&);
OGroup& operator=(const OGroup&) SAL_DELETED_FUNCTION;
OGroup(const OGroup&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -42,8 +42,8 @@ namespace reportdesign
::com::sun::star::uno::WeakReference< ::com::sun::star::report::XReportDefinition > m_xParent;
TGroups m_aGroups;
private:
OGroups& operator=(const OGroups&);
OGroups(const OGroups&);
OGroups& operator=(const OGroups&) SAL_DELETED_FUNCTION;
OGroups(const OGroups&) SAL_DELETED_FUNCTION;
void checkIndex(sal_Int32 _nIndex);
protected:
// TODO: VirtualFunctionFinder: This is virtual function!
......
......@@ -47,8 +47,8 @@ namespace reportdesign
sal_Int16 m_nScaleMode;
bool m_bPreserveIRI;
private:
OImageControl(const OImageControl&);
OImageControl& operator=(const OImageControl&);
OImageControl(const OImageControl&) SAL_DELETED_FUNCTION;
OImageControl& operator=(const OImageControl&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -79,8 +79,8 @@ namespace reportdesign
class OReportControlModel
{
void checkIndex(sal_Int32 _nIndex);
OReportControlModel(OReportControlModel&);
void operator =(OReportControlModel&);
OReportControlModel(OReportControlModel&) SAL_DELETED_FUNCTION;
void operator =(OReportControlModel&) SAL_DELETED_FUNCTION;
public:
::cppu::OInterfaceContainerHelper aContainerListeners;
OReportComponentProperties aComponent;
......
......@@ -28,8 +28,8 @@ namespace reportdesign
class OReportDrawPage : public SvxDrawPage
{
::com::sun::star::uno::WeakReference< ::com::sun::star::report::XSection > m_xSection;
OReportDrawPage(const OReportDrawPage&);
void operator =(const OReportDrawPage&);
OReportDrawPage(const OReportDrawPage&) SAL_DELETED_FUNCTION;
void operator =(const OReportDrawPage&) SAL_DELETED_FUNCTION;
protected:
virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
......@@ -52,8 +52,8 @@ namespace reportdesign
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xActiveConnection;
::sal_Int32 m_nMaxRows;
private:
OReportEngineJFree(const OReportEngineJFree&);
OReportEngineJFree& operator=(const OReportEngineJFree&);
OReportEngineJFree(const OReportEngineJFree&) SAL_DELETED_FUNCTION;
OReportEngineJFree& operator=(const OReportEngineJFree&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
,T& _member)
......
......@@ -30,8 +30,8 @@ namespace rptui
OModuleClient m_aModuleClient;
::std::unique_ptr<SdrUndoFactory> m_pUndoFactory;
OReportUndoFactory(const OReportUndoFactory&);
OReportUndoFactory& operator=(const OReportUndoFactory&);
OReportUndoFactory(const OReportUndoFactory&) SAL_DELETED_FUNCTION;
OReportUndoFactory& operator=(const OReportUndoFactory&) SAL_DELETED_FUNCTION;
public:
OReportUndoFactory();
virtual ~OReportUndoFactory();
......
......@@ -38,8 +38,8 @@ class OObjectListener: public TPropertyChangeListenerHelper
{
private:
OObjectBase* m_pObject;
OObjectListener(const OObjectListener&);
void operator =(const OObjectListener&);
OObjectListener(const OObjectListener&) SAL_DELETED_FUNCTION;
void operator =(const OObjectListener&) SAL_DELETED_FUNCTION;
protected:
virtual ~OObjectListener();
public:
......
......@@ -67,8 +67,6 @@ namespace reportdesign
::sal_Int16 m_nForceNewPage;
::sal_Int16 m_nNewRowOrCol;
bool m_bKeepTogether;
bool m_bCanGrow;
bool m_bCanShrink;
bool m_bRepeatSection;
bool m_bVisible;
bool m_bBacktransparent;
......@@ -76,8 +74,8 @@ namespace reportdesign
bool m_bInInsertNotify;
private:
OSection(const OSection&);
OSection& operator=(const OSection&);
OSection(const OSection&) SAL_DELETED_FUNCTION;
OSection& operator=(const OSection&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -57,8 +57,8 @@ namespace reportdesign
m_CustomShapeGeometry;
private:
OShape(const OShape&);
OShape& operator=(const OShape&);
OShape(const OShape&) SAL_DELETED_FUNCTION;
OShape& operator=(const OShape&) SAL_DELETED_FUNCTION;
template <typename T> void set( const OUString& _sProperty
,const T& _Value
......
......@@ -40,8 +40,8 @@ namespace rptxml
const SvXMLNamespaceMap& rNamespaceMap
) const SAL_OVERRIDE;
OXMLAutoStylePoolP(const OXMLAutoStylePoolP&);
void operator =(const OXMLAutoStylePoolP&);
OXMLAutoStylePoolP(const OXMLAutoStylePoolP&) SAL_DELETED_FUNCTION;
void operator =(const OXMLAutoStylePoolP&) SAL_DELETED_FUNCTION;
public:
OXMLAutoStylePoolP(ORptExport& rXMLExport);
virtual ~OXMLAutoStylePoolP();
......
......@@ -37,8 +37,8 @@ namespace rptxml
bool m_bContainsShape;
ORptFilter& GetOwnImport();
OXMLCell(const OXMLCell&);
OXMLCell& operator =(const OXMLCell&);
OXMLCell(const OXMLCell&) SAL_DELETED_FUNCTION;
OXMLCell& operator =(const OXMLCell&) SAL_DELETED_FUNCTION;
public:
OXMLCell( ORptFilter& rImport
......
......@@ -32,8 +32,8 @@ namespace rptxml
ORptFilter& GetOwnImport();
void fillStyle(const OUString& _sStyleName);
OXMLRowColumn(const OXMLRowColumn&);
void operator =(const OXMLRowColumn&);
OXMLRowColumn(const OXMLRowColumn&) SAL_DELETED_FUNCTION;
void operator =(const OXMLRowColumn&) SAL_DELETED_FUNCTION;
public:
OXMLRowColumn( ORptFilter& rImport
......
......@@ -28,8 +28,8 @@ namespace rptxml
class OXMLCondPrtExpr : public SvXMLImportContext
{
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xComponent;
OXMLCondPrtExpr(const OXMLCondPrtExpr&);
void operator =(const OXMLCondPrtExpr&);
OXMLCondPrtExpr(const OXMLCondPrtExpr&) SAL_DELETED_FUNCTION;
void operator =(const OXMLCondPrtExpr&) SAL_DELETED_FUNCTION;
public:
OXMLCondPrtExpr( ORptFilter& _rImport
......
......@@ -40,8 +40,8 @@ namespace rptxml
ORptFilter& GetOwnImport();
::com::sun::star::uno::Any convertString(const ::com::sun::star::uno::Type& _rExpectedType, const OUString& _rReadCharacters);
OXMLControlProperty(const OXMLControlProperty&);
void operator =(const OXMLControlProperty&);
OXMLControlProperty(const OXMLControlProperty&) SAL_DELETED_FUNCTION;
void operator =(const OXMLControlProperty&) SAL_DELETED_FUNCTION;
public:
OXMLControlProperty( ORptFilter& rImport
......
......@@ -73,7 +73,6 @@ void lcl_correctCellAddress(const OUString & _sName, const uno::Reference< xml::
ExportDocumentHandler::ExportDocumentHandler(uno::Reference< uno::XComponentContext > const & context) :
m_xContext(context)
,m_nCurrentCellIndex(0)
,m_nColumnCount(0)
,m_bTableRowsStarted(false)
,m_bFirstRowExported(false)
......
......@@ -74,8 +74,8 @@ private:
void exportTableRows();
private:
ExportDocumentHandler(ExportDocumentHandler &); // not defined
void operator =(ExportDocumentHandler &); // not defined
ExportDocumentHandler(ExportDocumentHandler &) SAL_DELETED_FUNCTION;
void operator =(ExportDocumentHandler &) SAL_DELETED_FUNCTION;
virtual ~ExportDocumentHandler();
......@@ -88,7 +88,6 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > m_xModel;
::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDatabaseDataProvider > m_xDatabaseDataProvider;
::com::sun::star::uno::Sequence< OUString > m_aColumns;
sal_Int32 m_nCurrentCellIndex;
sal_Int32 m_nColumnCount;
bool m_bTableRowsStarted;
bool m_bFirstRowExported;
......
......@@ -40,8 +40,8 @@ namespace rptxml
const OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
private:
OXMLFixedContent(const OXMLFixedContent&);
OXMLFixedContent& operator =(const OXMLFixedContent&);
OXMLFixedContent(const OXMLFixedContent&) SAL_DELETED_FUNCTION;
OXMLFixedContent& operator =(const OXMLFixedContent&) SAL_DELETED_FUNCTION;
public:
OXMLFixedContent( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -30,8 +30,8 @@ namespace rptxml
ORptFilter& m_rImport;
OUString m_sStyleName;
::com::sun::star::uno::Reference< ::com::sun::star::report::XFormatCondition > m_xComponent;
OXMLFormatCondition(const OXMLFormatCondition&);
void operator =(const OXMLFormatCondition&);
OXMLFormatCondition(const OXMLFormatCondition&) SAL_DELETED_FUNCTION;
void operator =(const OXMLFormatCondition&) SAL_DELETED_FUNCTION;
public:
OXMLFormatCondition( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -27,8 +27,8 @@ namespace rptxml
class ORptFilter;
class OXMLFormattedField : public OXMLReportElementBase
{
OXMLFormattedField(const OXMLFormattedField&);
void operator =(const OXMLFormattedField&);
OXMLFormattedField(const OXMLFormattedField&) SAL_DELETED_FUNCTION;
void operator =(const OXMLFormattedField&) SAL_DELETED_FUNCTION;
public:
OXMLFormattedField( ORptFilter& rImport
......
......@@ -38,8 +38,8 @@ namespace rptxml
{
class OPropertyHandlerFactory : public ::xmloff::OControlPropertyHandlerFactory
{
OPropertyHandlerFactory(const OPropertyHandlerFactory&);
void operator =(const OPropertyHandlerFactory&);
OPropertyHandlerFactory(const OPropertyHandlerFactory&) SAL_DELETED_FUNCTION;
void operator =(const OPropertyHandlerFactory&) SAL_DELETED_FUNCTION;
protected:
mutable ::std::unique_ptr<XMLConstantsPropertyHandler> m_pDisplayHandler;
mutable ::std::unique_ptr<XMLPropertyHandler> m_pTextAlignHandler;
......
......@@ -27,8 +27,8 @@ namespace rptxml
class ORptFilter;
class OXMLImage : public OXMLReportElementBase
{
OXMLImage(const OXMLImage&);
void operator =(const OXMLImage&);
OXMLImage(const OXMLImage&) SAL_DELETED_FUNCTION;
void operator =(const OXMLImage&) SAL_DELETED_FUNCTION;
public:
OXMLImage( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -71,8 +71,8 @@ private:
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
ImportDocumentHandler(ImportDocumentHandler &); // not defined
void operator =(ImportDocumentHandler &); // not defined
ImportDocumentHandler(ImportDocumentHandler &) SAL_DELETED_FUNCTION;
void operator =(ImportDocumentHandler &) SAL_DELETED_FUNCTION;
virtual ~ImportDocumentHandler();
......
......@@ -27,8 +27,8 @@ namespace rptxml
class OXMLMasterFields : public SvXMLImportContext
{
IMasterDetailFieds* m_pReport;
OXMLMasterFields(const OXMLMasterFields&);
void operator =(const OXMLMasterFields&);
OXMLMasterFields(const OXMLMasterFields&) SAL_DELETED_FUNCTION;
void operator =(const OXMLMasterFields&) SAL_DELETED_FUNCTION;
public:
OXMLMasterFields( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -28,8 +28,8 @@ namespace rptxml
class OXMLRptPropHdlFactory : public XMLPropertyHandlerFactory
{
private:
OXMLRptPropHdlFactory(const OXMLRptPropHdlFactory&);
void operator =(const OXMLRptPropHdlFactory&);
OXMLRptPropHdlFactory(const OXMLRptPropHdlFactory&) SAL_DELETED_FUNCTION;
void operator =(const OXMLRptPropHdlFactory&) SAL_DELETED_FUNCTION;
public:
OXMLRptPropHdlFactory();
virtual ~OXMLRptPropHdlFactory();
......
......@@ -30,8 +30,8 @@ namespace rptxml
::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition > m_xComponent;
::std::vector< OUString> m_aMasterFields;
::std::vector< OUString> m_aDetailFields;
OXMLReport(const OXMLReport&);
void operator =(const OXMLReport&);
OXMLReport(const OXMLReport&) SAL_DELETED_FUNCTION;
void operator =(const OXMLReport&) SAL_DELETED_FUNCTION;
public:
OXMLReport( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -29,8 +29,8 @@ namespace rptxml
{
::com::sun::star::uno::Reference< ::com::sun::star::report::XReportControlModel > m_xComponent;
ORptFilter& GetOwnImport();
OXMLReportElement(const OXMLReportElement&);
void operator =(const OXMLReportElement&);
OXMLReportElement(const OXMLReportElement&) SAL_DELETED_FUNCTION;
void operator =(const OXMLReportElement&) SAL_DELETED_FUNCTION;
public:
OXMLReportElement( ORptFilter& rImport, sal_uInt16 nPrfx,
......
......@@ -39,8 +39,8 @@ namespace rptxml
class OXMLReportElementBase : public SvXMLImportContext
{
OXMLReportElementBase(const OXMLReportElementBase&);
void operator =(const OXMLReportElementBase&);
OXMLReportElementBase(const OXMLReportElementBase&) SAL_DELETED_FUNCTION;
void operator =(const OXMLReportElementBase&) SAL_DELETED_FUNCTION;
protected:
ORptFilter& m_rImport;
OXMLTable* m_pContainer;
......
......@@ -58,7 +58,6 @@ OXMLSection::OXMLSection( ORptFilter& rImport,
,bool _bPageHeader)
:SvXMLImportContext( rImport, nPrfx, _sLocalName )
,m_xSection(_xSection)
,m_bPageHeader(_bPageHeader)
{
OSL_ENSURE(_xAttrList.is(),"Attribute list is NULL!");
......
......@@ -30,11 +30,10 @@ namespace rptxml
{
private:
::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > m_xSection;
bool m_bPageHeader;
ORptFilter& GetOwnImport();
OXMLSection(const OXMLSection&);
void operator =(const OXMLSection&);
OXMLSection(const OXMLSection&) SAL_DELETED_FUNCTION;
void operator =(const OXMLSection&) SAL_DELETED_FUNCTION;
public:
OXMLSection( ORptFilter& rImport
......
......@@ -76,12 +76,9 @@ OControlStyleContext::OControlStyleContext( ORptFilter& rImport,
const Reference< XAttributeList > & xAttrList,
SvXMLStylesContext& rStyles, sal_uInt16 nFamily, bool bDefaultStyle ) :
XMLPropStyleContext( rImport, nPrfx, rLName, xAttrList, rStyles, nFamily, bDefaultStyle ),
sNumberFormat(OUString("NumberFormat")),
pStyles(&rStyles),
m_nNumberFormat(-1),
m_rImport(rImport),
bConditionalFormatCreated(false),
bParentSet(false)
m_rImport(rImport)
{
}
......
......@@ -40,19 +40,15 @@ namespace rptxml
{
OUString m_sDataStyleName;
OUString sPageStyle;
const OUString sNumberFormat;
SvXMLStylesContext* pStyles;
// std::vector<ScXMLMapContent> aMaps;
com::sun::star::uno::Any aConditionalFormat;
sal_Int32 m_nNumberFormat;
ORptFilter& m_rImport;
bool bConditionalFormatCreated : 1;
bool bParentSet : 1;
ORptFilter& GetOwnImport() const { return m_rImport;}
OControlStyleContext(const OControlStyleContext&);
void operator =(const OControlStyleContext&);
OControlStyleContext(const OControlStyleContext&) SAL_DELETED_FUNCTION;
void operator =(const OControlStyleContext&) SAL_DELETED_FUNCTION;
protected:
virtual void SetAttribute( sal_uInt16 nPrefixKey,
...