summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-02 12:26:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-02 17:08:47 +0100
commit3940cf7d716f3e469f47d3c831a799e58edf2eb8 (patch)
tree96c54b88e76e8eeff2b58700fce6a3b4f6722cde /sc
parentdd24e21bb4f183048a738314934fc3f02ec093f1 (diff)
drop the SvXMLExport::EndElement method..
in favour of just using the endFastElement() method Change-Id: Id95abb0b9e78bc44278c5e9e3cc8dee15185e2e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105175 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx4
-rw-r--r--sc/source/filter/xml/xmlannoi.cxx4
-rw-r--r--sc/source/filter/xml/xmlannoi.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index 1861436d178d..7a6f7a0a7e56 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -163,7 +163,7 @@ public:
virtual void SAL_CALL characters( const OUString& rChars ) override;
- virtual void EndElement() override;
+ virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
class ScXMLChangeCellContext : public ScXMLImportContext
@@ -719,7 +719,7 @@ void ScXMLChangeTextPContext::characters( const OUString& rChars )
pTextPContext->characters(rChars);
}
-void ScXMLChangeTextPContext::EndElement()
+void ScXMLChangeTextPContext::endFastElement(sal_Int32 )
{
if (!pTextPContext)
pChangeCellContext->SetText(sText.makeStringAndClear());
diff --git a/sc/source/filter/xml/xmlannoi.cxx b/sc/source/filter/xml/xmlannoi.cxx
index cc60de9d7ab7..3a0ba33e2322 100644
--- a/sc/source/filter/xml/xmlannoi.cxx
+++ b/sc/source/filter/xml/xmlannoi.cxx
@@ -146,11 +146,11 @@ void ScXMLAnnotationContext::characters( const OUString& rChars )
maTextBuffer.append(rChars);
}
-void ScXMLAnnotationContext::EndElement()
+void ScXMLAnnotationContext::endFastElement(sal_Int32 nElement)
{
if (pShapeContext)
{
- pShapeContext->EndElement();
+ pShapeContext->endFastElement(nElement);
pShapeContext.reset();
}
diff --git a/sc/source/filter/xml/xmlannoi.hxx b/sc/source/filter/xml/xmlannoi.hxx
index 24164155f44b..d9bf57382710 100644
--- a/sc/source/filter/xml/xmlannoi.hxx
+++ b/sc/source/filter/xml/xmlannoi.hxx
@@ -83,7 +83,7 @@ public:
virtual void SAL_CALL characters( const OUString& rChars ) override;
- virtual void EndElement() override;
+ virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
void SetShape(
const css::uno::Reference< css::drawing::XShape >& rxShape,