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