ditch some empty dtors which match the default dtor
Change-Id: Id2450b03e6c8c5461e92d995ea8c33d5dfd55a45
This commit is contained in:
parent
a0dc397287
commit
aac6bb5bb3
@ -59,8 +59,6 @@ public:
|
||||
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList,
|
||||
rtl_TextEncoding eDfltEnc );
|
||||
|
||||
~XMLFontStylesContext() override;
|
||||
|
||||
const SvXMLTokenMap& GetFontStyleAttrTokenMap() const
|
||||
{
|
||||
return *pFontStyleAttrTokenMap;
|
||||
|
@ -30,14 +30,10 @@ namespace com { namespace sun { namespace star {
|
||||
|
||||
class XMLOFF_DLLPUBLIC XMLTextTableContext : public SvXMLImportContext
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
XMLTextTableContext( SvXMLImport& rImport,
|
||||
sal_uInt16 nPrfx,
|
||||
const OUString& rLName );
|
||||
virtual ~XMLTextTableContext() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -63,13 +63,11 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
|
||||
XMLTextStyleContext( SvXMLImport& rImport, sal_uInt16 nPrfx,
|
||||
const OUString& rLName,
|
||||
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList,
|
||||
SvXMLStylesContext& rStyles, sal_uInt16 nFamily,
|
||||
bool bDefaultStyle = false );
|
||||
~XMLTextStyleContext() override;
|
||||
|
||||
virtual SvXMLImportContext *CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
|
@ -66,8 +66,6 @@ public:
|
||||
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
|
||||
bool bOutl = false );
|
||||
|
||||
~SvxXMLListStyleContext() override;
|
||||
|
||||
virtual SvXMLImportContext *CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -52,8 +52,6 @@ namespace xmloff
|
||||
*/
|
||||
virtual bool
|
||||
getPropertyValues( const OUString& i_attributeValue, PropertyValues& o_propertyValues ) const = 0;
|
||||
|
||||
virtual ~PropertyHandlerBase() override {}
|
||||
};
|
||||
|
||||
//= PPropertyHandler
|
||||
|
@ -132,8 +132,6 @@ public:
|
||||
sal_uInt16 nPrfx, /// namespace prefix
|
||||
const OUString& rLocalName); /// element name w/o prefix
|
||||
|
||||
virtual ~XMLTextFieldImportContext() override;
|
||||
|
||||
/// process character data: will be collected in member sContentBuffer
|
||||
virtual void Characters( const OUString& sContent ) override;
|
||||
|
||||
|
@ -64,8 +64,6 @@ public:
|
||||
bool bValue, /// process value (Prep.Field)
|
||||
bool bFormula); /// process formula (Prep.F.)
|
||||
|
||||
~XMLValueImportHelper();
|
||||
|
||||
/// process attribute values
|
||||
void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||
const OUString& sAttrValue );
|
||||
@ -442,13 +440,11 @@ class XMLTableFormulaImportContext : public XMLTextFieldImportContext
|
||||
|
||||
public:
|
||||
|
||||
|
||||
XMLTableFormulaImportContext(
|
||||
SvXMLImport& rImport, /// XML Import
|
||||
XMLTextImportHelper& rHlp, /// text import helper
|
||||
sal_uInt16 nPrfx, /// namespace prefix
|
||||
const OUString& rLocalName); /// element name w/o prefix
|
||||
virtual ~XMLTableFormulaImportContext() override;
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -42,7 +42,6 @@ public:
|
||||
const css::uno::Sequence < css::util::RevisionTag >& rVersions,
|
||||
const OUString &rFileName,
|
||||
css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler );
|
||||
virtual ~XMLVersionListExport() override {}
|
||||
|
||||
sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override;
|
||||
void ExportAutoStyles_() override {}
|
||||
|
@ -135,8 +135,6 @@ SchXMLFlatDocContext_Impl::SchXMLFlatDocContext_Impl(
|
||||
{
|
||||
}
|
||||
|
||||
SchXMLFlatDocContext_Impl::~SchXMLFlatDocContext_Impl() { }
|
||||
|
||||
SvXMLImportContext *SchXMLFlatDocContext_Impl::CreateChildContext(
|
||||
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
|
||||
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList)
|
||||
|
@ -67,8 +67,6 @@ public:
|
||||
sal_uInt16 i_nPrefix, const OUString & i_rLName,
|
||||
const css::uno::Reference<css::document::XDocumentProperties>& i_xDocProps);
|
||||
|
||||
virtual ~SchXMLFlatDocContext_Impl() override;
|
||||
|
||||
virtual SvXMLImportContext *CreateChildContext(
|
||||
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
|
||||
const css::uno::Reference<css::xml::sax::XAttributeList>& i_xAttrList) override;
|
||||
|
@ -173,7 +173,6 @@ struct ImpSdXMLExpTransObj2DBase
|
||||
sal_uInt16 mnType;
|
||||
explicit ImpSdXMLExpTransObj2DBase(sal_uInt16 nType)
|
||||
: mnType(nType) {}
|
||||
virtual ~ImpSdXMLExpTransObj2DBase() {}
|
||||
};
|
||||
|
||||
// possible object types for 2D
|
||||
@ -544,7 +543,6 @@ struct ImpSdXMLExpTransObj3DBase
|
||||
sal_uInt16 mnType;
|
||||
explicit ImpSdXMLExpTransObj3DBase(sal_uInt16 nType)
|
||||
: mnType(nType) {}
|
||||
virtual ~ImpSdXMLExpTransObj3DBase() {}
|
||||
};
|
||||
|
||||
// possible object types for 3D
|
||||
|
@ -44,8 +44,6 @@ namespace xmloff
|
||||
typedef std::vector< css::uno::Reference< css::xml::sax::XAttributeList > > AttributeListArray;
|
||||
AttributeListArray m_aLists;
|
||||
|
||||
virtual ~OAttribListMerger() override { }
|
||||
|
||||
public:
|
||||
OAttribListMerger() { }
|
||||
|
||||
|
@ -131,7 +131,10 @@ struct XMLFontAutoStylePoolEntryCmp_Impl {
|
||||
class XMLFontAutoStylePool_Impl : public o3tl::sorted_vector<XMLFontAutoStylePoolEntry_Impl*, XMLFontAutoStylePoolEntryCmp_Impl>
|
||||
{
|
||||
public:
|
||||
~XMLFontAutoStylePool_Impl() { DeleteAndDestroyAll(); }
|
||||
~XMLFontAutoStylePool_Impl()
|
||||
{
|
||||
DeleteAndDestroyAll();
|
||||
}
|
||||
};
|
||||
|
||||
XMLFontAutoStylePool::XMLFontAutoStylePool( SvXMLExport& rExp, bool _tryToEmbedFonts ) :
|
||||
|
@ -377,8 +377,6 @@ XMLFontStylesContext::XMLFontStylesContext( SvXMLImport& rImport,
|
||||
{
|
||||
}
|
||||
|
||||
XMLFontStylesContext::~XMLFontStylesContext() {}
|
||||
|
||||
bool XMLFontStylesContext::FillProperties( const OUString& rName,
|
||||
::std::vector< XMLPropertyState > &rProps,
|
||||
sal_Int32 nFamilyNameIdx,
|
||||
|
@ -56,8 +56,6 @@ XMLAutoStyleFamily::XMLAutoStyleFamily(
|
||||
XMLAutoStyleFamily::XMLAutoStyleFamily( sal_Int32 nFamily ) :
|
||||
mnFamily(nFamily), mnCount(0), mnName(0), mbAsFamily(false) {}
|
||||
|
||||
XMLAutoStyleFamily::~XMLAutoStyleFamily() {}
|
||||
|
||||
void XMLAutoStyleFamily::ClearEntries()
|
||||
{
|
||||
m_ParentSet.clear();
|
||||
|
@ -122,7 +122,6 @@ struct XMLAutoStyleFamily
|
||||
const OUString& rStrPrefix, bool bAsFamily );
|
||||
|
||||
explicit XMLAutoStyleFamily( sal_Int32 nFamily );
|
||||
~XMLAutoStyleFamily();
|
||||
|
||||
XMLAutoStyleFamily(const XMLAutoStyleFamily&) = delete;
|
||||
XMLAutoStyleFamily& operator=(const XMLAutoStyleFamily&) = delete;
|
||||
|
@ -1018,8 +1018,6 @@ SvxXMLListStyleContext::SvxXMLListStyleContext( SvXMLImport& rImport,
|
||||
{
|
||||
}
|
||||
|
||||
SvxXMLListStyleContext::~SvxXMLListStyleContext() {}
|
||||
|
||||
SvXMLImportContext *SvxXMLListStyleContext::CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -31,8 +31,4 @@ XMLTextTableContext::XMLTextTableContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLTextTableContext::~XMLTextTableContext()
|
||||
{
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -147,9 +147,6 @@ void XMLTextFieldImportContext::StartElement(
|
||||
}
|
||||
}
|
||||
|
||||
XMLTextFieldImportContext::~XMLTextFieldImportContext() {
|
||||
}
|
||||
|
||||
OUString const & XMLTextFieldImportContext::GetContent()
|
||||
{
|
||||
if (sContent.isEmpty())
|
||||
|
@ -2263,10 +2263,6 @@ XMLNumberedParaContext::XMLNumberedParaContext(
|
||||
i_rImport.GetTextImport()->GetTextListHelper().PushListContext( this );
|
||||
}
|
||||
|
||||
XMLNumberedParaContext::~XMLNumberedParaContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLNumberedParaContext::EndElement()
|
||||
{
|
||||
if (!m_ListId.isEmpty()) {
|
||||
|
@ -94,8 +94,6 @@ public:
|
||||
const OUString& i_rLocalName,
|
||||
const css::uno::Reference< css::xml::sax::XAttributeList > & i_xAttrList );
|
||||
|
||||
virtual ~XMLNumberedParaContext() override;
|
||||
|
||||
virtual void EndElement() override;
|
||||
|
||||
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 i_nPrefix,
|
||||
|
@ -76,7 +76,6 @@ public:
|
||||
sStyleName( rStyleName )
|
||||
{
|
||||
}
|
||||
virtual ~XMLStyleHint_Impl() override {}
|
||||
|
||||
const OUString& GetStyleName() const { return sStyleName; }
|
||||
};
|
||||
@ -94,8 +93,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~XMLReferenceHint_Impl() override {}
|
||||
|
||||
const OUString& GetRefName() const { return sRefName; }
|
||||
};
|
||||
|
||||
@ -160,8 +157,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~XMLIndexMarkHint_Impl() override {}
|
||||
|
||||
const css::uno::Reference<css::beans::XPropertySet> & GetMark() const
|
||||
{ return xIndexMarkPropSet; }
|
||||
const OUString& GetID() const { return sID; }
|
||||
@ -181,10 +176,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~XMLTextFrameHint_Impl() override
|
||||
{
|
||||
}
|
||||
|
||||
css::uno::Reference < css::text::XTextContent > GetTextContent() const
|
||||
{
|
||||
css::uno::Reference < css::text::XTextContent > xTxt;
|
||||
@ -238,10 +229,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~XMLDrawHint_Impl() override
|
||||
{
|
||||
}
|
||||
|
||||
// Frame "to character": anchor moves from first to last char after saving (#i33242#)
|
||||
css::uno::Reference < css::drawing::XShape > GetShape() const
|
||||
{
|
||||
|
@ -1336,10 +1336,6 @@ XMLTextPropertyHandlerFactory::XMLTextPropertyHandlerFactory() :
|
||||
{
|
||||
}
|
||||
|
||||
XMLTextPropertyHandlerFactory::~XMLTextPropertyHandlerFactory()
|
||||
{
|
||||
}
|
||||
|
||||
const XMLPropertyHandler *XMLTextPropertyHandlerFactory::GetPropertyHandler(
|
||||
sal_Int32 nType ) const
|
||||
{
|
||||
|
@ -30,12 +30,10 @@ class XMLTextPropertyHandlerFactory : public XMLPropertyHandlerFactory
|
||||
public:
|
||||
|
||||
XMLTextPropertyHandlerFactory();
|
||||
virtual ~XMLTextPropertyHandlerFactory() override;
|
||||
|
||||
virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const override ;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -149,9 +149,6 @@ XMLTextStyleContext::XMLTextStyleContext( SvXMLImport& rImport,
|
||||
{
|
||||
}
|
||||
|
||||
XMLTextStyleContext::~XMLTextStyleContext()
|
||||
{}
|
||||
|
||||
SvXMLImportContext *XMLTextStyleContext::CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -602,10 +602,6 @@ XMLTableFormulaImportContext::XMLTableFormulaImportContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLTableFormulaImportContext::~XMLTableFormulaImportContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLTableFormulaImportContext::ProcessAttribute(
|
||||
sal_uInt16 nAttrToken,
|
||||
const OUString& sAttrValue )
|
||||
@ -1120,10 +1116,6 @@ XMLValueImportHelper::XMLValueImportHelper(
|
||||
{
|
||||
}
|
||||
|
||||
XMLValueImportHelper::~XMLValueImportHelper()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLValueImportHelper::ProcessAttribute(
|
||||
sal_uInt16 nAttrToken, const OUString& sAttrValue )
|
||||
{
|
||||
|
@ -111,16 +111,12 @@ void XMLAxisOOoContext::StartElement(
|
||||
XMLPersElemContentTContext::StartElement( xAttrList );
|
||||
}
|
||||
|
||||
|
||||
XMLChartPlotAreaOOoTContext::XMLChartPlotAreaOOoTContext(
|
||||
XMLTransformerBase & rTransformer, const OUString & rQName ) :
|
||||
XMLProcAttrTransformerContext( rTransformer, rQName, OOO_SHAPE_ACTIONS )
|
||||
{
|
||||
}
|
||||
|
||||
XMLChartPlotAreaOOoTContext::~XMLChartPlotAreaOOoTContext()
|
||||
{}
|
||||
|
||||
rtl::Reference<XMLTransformerContext> XMLChartPlotAreaOOoTContext::CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -37,7 +37,6 @@ class XMLChartPlotAreaOOoTContext : public XMLProcAttrTransformerContext
|
||||
public:
|
||||
explicit XMLChartPlotAreaOOoTContext(
|
||||
XMLTransformerBase & rTransformer, const OUString & rQName );
|
||||
virtual ~XMLChartPlotAreaOOoTContext() override;
|
||||
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -42,10 +42,6 @@ XMLControlOASISTransformerContext::XMLControlOASISTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLControlOASISTransformerContext::~XMLControlOASISTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLControlOASISTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -32,8 +32,6 @@ public:
|
||||
const OUString& rQName,
|
||||
bool bCreateControl );
|
||||
|
||||
virtual ~XMLControlOASISTransformerContext() override;
|
||||
|
||||
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
|
||||
|
||||
virtual void EndElement() override;
|
||||
|
@ -38,10 +38,6 @@ XMLControlOOoTransformerContext::XMLControlOOoTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLControlOOoTransformerContext::~XMLControlOOoTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLControlOOoTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -32,8 +32,6 @@ public:
|
||||
XMLControlOOoTransformerContext( XMLTransformerBase& rTransformer,
|
||||
const OUString& rQName );
|
||||
|
||||
virtual ~XMLControlOOoTransformerContext() override;
|
||||
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const OUString& rQName,
|
||||
|
@ -43,10 +43,6 @@ XMLCreateElemTransformerContext::XMLCreateElemTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLCreateElemTransformerContext::~XMLCreateElemTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLCreateElemTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -32,8 +32,6 @@ public:
|
||||
const OUString& rQName,
|
||||
sal_uInt16 nActionMap );
|
||||
|
||||
virtual ~XMLCreateElemTransformerContext() override;
|
||||
|
||||
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
|
||||
};
|
||||
|
||||
|
@ -43,10 +43,6 @@ XMLDocumentTransformerContext::XMLDocumentTransformerContext( XMLTransformerBase
|
||||
{
|
||||
}
|
||||
|
||||
XMLDocumentTransformerContext::~XMLDocumentTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLDocumentTransformerContext::StartElement( const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
Reference< XAttributeList > xAttrList( rAttrList );
|
||||
|
@ -32,12 +32,6 @@ public:
|
||||
XMLDocumentTransformerContext( XMLTransformerBase& rTransformer,
|
||||
const OUString& rQName );
|
||||
|
||||
// A contexts destructor does anything that is required if an element
|
||||
// ends. By default, nothing is done.
|
||||
// Note that virtual methods cannot be used inside destructors. Use
|
||||
// EndElement instead if this is required.
|
||||
virtual ~XMLDocumentTransformerContext() override;
|
||||
|
||||
// StartElement is called after a context has been constructed and
|
||||
// before a elements context is parsed. It may be used for actions that
|
||||
// require virtual methods. The default is to do nothing.
|
||||
|
@ -43,7 +43,6 @@ public:
|
||||
|
||||
XMLTransformerOOoEventMap_Impl( XMLTransformerEventMapEntry *pInit,
|
||||
XMLTransformerEventMapEntry *pInit2 );
|
||||
~XMLTransformerOOoEventMap_Impl();
|
||||
};
|
||||
|
||||
void XMLTransformerOOoEventMap_Impl::AddMap( XMLTransformerEventMapEntry *pInit )
|
||||
@ -80,10 +79,6 @@ XMLTransformerOOoEventMap_Impl::XMLTransformerOOoEventMap_Impl(
|
||||
AddMap( pInit2 );
|
||||
}
|
||||
|
||||
XMLTransformerOOoEventMap_Impl::~XMLTransformerOOoEventMap_Impl()
|
||||
{
|
||||
}
|
||||
|
||||
XMLEventOOoTransformerContext::XMLEventOOoTransformerContext(
|
||||
XMLTransformerBase& rImp,
|
||||
const OUString& rQName,
|
||||
|
@ -42,10 +42,6 @@ XMLFrameOOoTransformerContext::XMLFrameOOoTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLFrameOOoTransformerContext::~XMLFrameOOoTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLFrameOOoTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -30,8 +30,6 @@ public:
|
||||
XMLFrameOOoTransformerContext( XMLTransformerBase& rTransformer,
|
||||
const OUString& rQName );
|
||||
|
||||
virtual ~XMLFrameOOoTransformerContext() override;
|
||||
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const OUString& rQName,
|
||||
|
@ -49,10 +49,6 @@ XMLIgnoreTransformerContext::XMLIgnoreTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLIgnoreTransformerContext::~XMLIgnoreTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
rtl::Reference<XMLTransformerContext> XMLIgnoreTransformerContext::CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -47,12 +47,6 @@ public:
|
||||
const OUString& rQName,
|
||||
bool bAllowCharactersRecursive );
|
||||
|
||||
// A contexts destructor does anything that is required if an element
|
||||
// ends. By default, nothing is done.
|
||||
// Note that virtual methods cannot be used inside destructors. Use
|
||||
// EndElement instead if this is required.
|
||||
virtual ~XMLIgnoreTransformerContext() override;
|
||||
|
||||
// Create a children element context. By default, the import's
|
||||
// CreateContext method is called to create a new default context.
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
|
@ -117,10 +117,6 @@ XMLMergeElemTransformerContext::XMLMergeElemTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLMergeElemTransformerContext::~XMLMergeElemTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLMergeElemTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -41,8 +41,6 @@ public:
|
||||
const OUString& rQName,
|
||||
sal_uInt16 nActionMap );
|
||||
|
||||
virtual ~XMLMergeElemTransformerContext() override;
|
||||
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const OUString& rQName,
|
||||
|
@ -106,10 +106,6 @@ XMLPersAttrListTContext::XMLPersAttrListTContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLPersAttrListTContext::~XMLPersAttrListTContext()
|
||||
{
|
||||
}
|
||||
|
||||
rtl::Reference<XMLTransformerContext> XMLPersAttrListTContext::CreateChildContext(
|
||||
sal_uInt16 /*nPrefix*/,
|
||||
const OUString& /*rLocalName*/,
|
||||
|
@ -61,12 +61,6 @@ public:
|
||||
::xmloff::token::XMLTokenEnum eToken,
|
||||
sal_uInt16 nActionMap );
|
||||
|
||||
// A contexts destructor does anything that is required if an element
|
||||
// ends. By default, nothing is done.
|
||||
// Note that virtual methods cannot be used inside destructors. Use
|
||||
// EndElement instead if this is required.
|
||||
virtual ~XMLPersAttrListTContext() override;
|
||||
|
||||
// Create a children element context. By default, the import's
|
||||
// CreateContext method is called to create a new default context.
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
|
@ -51,10 +51,6 @@ XMLProcAttrTransformerContext::XMLProcAttrTransformerContext(
|
||||
{
|
||||
}
|
||||
|
||||
XMLProcAttrTransformerContext::~XMLProcAttrTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XMLProcAttrTransformerContext::StartElement(
|
||||
const Reference< XAttributeList >& rAttrList )
|
||||
{
|
||||
|
@ -44,8 +44,6 @@ public:
|
||||
::xmloff::token::XMLTokenEnum eToken,
|
||||
sal_uInt16 nActionMap );
|
||||
|
||||
virtual ~XMLProcAttrTransformerContext() override;
|
||||
|
||||
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
|
||||
virtual void EndElement() override;
|
||||
};
|
||||
|
@ -52,10 +52,6 @@ XMLTransformerContext::XMLTransformerContext( XMLTransformerBase& rImp,
|
||||
{
|
||||
}
|
||||
|
||||
XMLTransformerContext::~XMLTransformerContext()
|
||||
{
|
||||
}
|
||||
|
||||
rtl::Reference<XMLTransformerContext> XMLTransformerContext::CreateChildContext( sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const OUString& rQName,
|
||||
|
@ -64,12 +64,6 @@ public:
|
||||
XMLTransformerContext( XMLTransformerBase& rTransformer,
|
||||
const OUString& rQName );
|
||||
|
||||
// A contexts destructor does anything that is required if an element
|
||||
// ends. By default, nothing is done.
|
||||
// Note that virtual methods cannot be used inside destructors. Use
|
||||
// EndElement instead if this is required.
|
||||
virtual ~XMLTransformerContext() override;
|
||||
|
||||
// Create a children element context. By default, the import's
|
||||
// CreateContext method is called to create a new default context.
|
||||
virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix,
|
||||
|
@ -17,10 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
|
||||
#include "TransformerTokenMap.hxx"
|
||||
|
||||
|
||||
using namespace ::xmloff::token;
|
||||
|
||||
XMLTransformerTokenMap::XMLTransformerTokenMap( XMLTokenEnum *pInit )
|
||||
@ -37,8 +35,4 @@ XMLTransformerTokenMap::XMLTransformerTokenMap( XMLTokenEnum *pInit )
|
||||
}
|
||||
}
|
||||
|
||||
XMLTransformerTokenMap::~XMLTransformerTokenMap()
|
||||
{
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -30,7 +30,6 @@ class XMLTransformerTokenMap :
|
||||
{
|
||||
public:
|
||||
explicit XMLTransformerTokenMap( ::xmloff::token::XMLTokenEnum *pInit );
|
||||
~XMLTransformerTokenMap();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERTOKENMAP_HXX
|
||||
|
@ -49,7 +49,6 @@ static const SvXMLTokenMapEntry aChildren[] =
|
||||
XML_TOKEN_MAP_END
|
||||
};
|
||||
|
||||
|
||||
SchemaContext::SchemaContext(
|
||||
SvXMLImport& rImport,
|
||||
sal_uInt16 nPrefix,
|
||||
@ -60,10 +59,6 @@ SchemaContext::SchemaContext(
|
||||
{
|
||||
}
|
||||
|
||||
SchemaContext::~SchemaContext()
|
||||
{
|
||||
}
|
||||
|
||||
void SchemaContext::HandleAttribute(
|
||||
sal_uInt16,
|
||||
const OUString& )
|
||||
|
@ -42,7 +42,6 @@ public:
|
||||
sal_uInt16 nPrfx,
|
||||
const OUString& rLName,
|
||||
const css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository );
|
||||
virtual ~SchemaContext() override;
|
||||
|
||||
// implement TokenContext methods:
|
||||
|
||||
|
@ -93,10 +93,6 @@ SchemaRestrictionContext::SchemaRestrictionContext(
|
||||
SAL_WARN_IF( !mxRepository.is(), "xmloff", "need repository" );
|
||||
}
|
||||
|
||||
SchemaRestrictionContext::~SchemaRestrictionContext()
|
||||
{
|
||||
}
|
||||
|
||||
void SchemaRestrictionContext::CreateDataType()
|
||||
{
|
||||
// only do something if we don't have a data type already
|
||||
|
@ -46,7 +46,6 @@ public:
|
||||
const OUString& rLName,
|
||||
css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository,
|
||||
const OUString& sTypeName );
|
||||
virtual ~SchemaRestrictionContext() override;
|
||||
|
||||
protected:
|
||||
// create mxDataType (if not already present)
|
||||
|
@ -49,7 +49,6 @@ static const SvXMLTokenMapEntry aChildren[] =
|
||||
XML_TOKEN_MAP_END
|
||||
};
|
||||
|
||||
|
||||
SchemaSimpleTypeContext::SchemaSimpleTypeContext(
|
||||
SvXMLImport& rImport,
|
||||
sal_uInt16 nPrefix,
|
||||
@ -60,10 +59,6 @@ SchemaSimpleTypeContext::SchemaSimpleTypeContext(
|
||||
{
|
||||
}
|
||||
|
||||
SchemaSimpleTypeContext::~SchemaSimpleTypeContext()
|
||||
{
|
||||
}
|
||||
|
||||
void SchemaSimpleTypeContext::HandleAttribute(
|
||||
sal_uInt16 nToken,
|
||||
const OUString& rValue )
|
||||
|
@ -44,8 +44,6 @@ public:
|
||||
const OUString& rLName,
|
||||
const css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository );
|
||||
|
||||
virtual ~SchemaSimpleTypeContext() override;
|
||||
|
||||
// implement TokenContext methods:
|
||||
|
||||
protected:
|
||||
|
@ -31,13 +31,11 @@
|
||||
using com::sun::star::uno::Reference;
|
||||
using com::sun::star::xml::sax::XAttributeList;
|
||||
|
||||
|
||||
struct SvXMLTokenMapEntry aEmptyMap[1] =
|
||||
{
|
||||
XML_TOKEN_MAP_END
|
||||
};
|
||||
|
||||
|
||||
TokenContext::TokenContext( SvXMLImport& rImport,
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
@ -49,10 +47,6 @@ TokenContext::TokenContext( SvXMLImport& rImport,
|
||||
{
|
||||
}
|
||||
|
||||
TokenContext::~TokenContext()
|
||||
{
|
||||
}
|
||||
|
||||
void TokenContext::StartElement(
|
||||
const Reference<XAttributeList>& xAttributeList )
|
||||
{
|
||||
|
@ -47,8 +47,6 @@ public:
|
||||
const SvXMLTokenMapEntry* pAttributes,
|
||||
const SvXMLTokenMapEntry* pChildren );
|
||||
|
||||
virtual ~TokenContext() override;
|
||||
|
||||
// implement SvXMLImportContext methods:
|
||||
|
||||
/** call HandleAttribute for each attribute in the token map;
|
||||
|
@ -76,10 +76,6 @@ XFormsBindContext::XFormsBindContext(
|
||||
mxModel->getBindings()->insert( makeAny( mxBinding ) );
|
||||
}
|
||||
|
||||
XFormsBindContext::~XFormsBindContext()
|
||||
{
|
||||
}
|
||||
|
||||
void XFormsBindContext::HandleAttribute( sal_uInt16 nToken,
|
||||
const OUString& rValue )
|
||||
{
|
||||
|
@ -43,7 +43,6 @@ public:
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const css::uno::Reference<css::xforms::XModel2>& xModel );
|
||||
virtual ~XFormsBindContext() override;
|
||||
|
||||
// implement SvXMLImportContext & TokenContext methods:
|
||||
|
||||
|
@ -66,10 +66,6 @@ XFormsInstanceContext::XFormsInstanceContext(
|
||||
SAL_WARN_IF( !mxModel.is(), "xmloff", "need model" );
|
||||
}
|
||||
|
||||
XFormsInstanceContext::~XFormsInstanceContext()
|
||||
{
|
||||
}
|
||||
|
||||
SvXMLImportContext* XFormsInstanceContext::CreateChildContext(
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
|
@ -46,7 +46,6 @@ public:
|
||||
sal_uInt16 nPrfx,
|
||||
const OUString& rLName,
|
||||
const css::uno::Reference<css::xforms::XModel2> & xModel );
|
||||
virtual ~XFormsInstanceContext() override;
|
||||
|
||||
// implement SvXMLImportContext & TokenContext methods:
|
||||
// We override CreateChildContext, because we want to read
|
||||
|
@ -70,11 +70,6 @@ XFormsModelContext::XFormsModelContext( SvXMLImport& rImport,
|
||||
{
|
||||
}
|
||||
|
||||
XFormsModelContext::~XFormsModelContext()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void XFormsModelContext::HandleAttribute(
|
||||
sal_uInt16 nToken,
|
||||
const OUString& rValue )
|
||||
|
@ -41,7 +41,6 @@ public:
|
||||
XFormsModelContext( SvXMLImport& rImport,
|
||||
sal_uInt16 nPrfx,
|
||||
const OUString& rLName );
|
||||
virtual ~XFormsModelContext() override;
|
||||
|
||||
const css::uno::Reference<css::xforms::XModel2>& getModel() { return mxModel;}
|
||||
|
||||
|
@ -78,10 +78,6 @@ XFormsSubmissionContext::XFormsSubmissionContext(
|
||||
xModel->getSubmissions()->insert( makeAny( mxSubmission ) );
|
||||
}
|
||||
|
||||
XFormsSubmissionContext::~XFormsSubmissionContext()
|
||||
{
|
||||
}
|
||||
|
||||
Any toBool( const OUString& rValue )
|
||||
{
|
||||
Any aValue;
|
||||
|
@ -42,7 +42,6 @@ public:
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const css::uno::Reference<css::xforms::XModel2>& xModel );
|
||||
virtual ~XFormsSubmissionContext() override;
|
||||
|
||||
// implement TokenContext methods:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user