---
sax/source/tools/fshelper.cxx | 48 -----------------------------------------
unusedcode.easy | 4 ---
2 files changed, 0 insertions(+), 52 deletions(-)
diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx
index 89c2b1a..6cdd39d 100644
--- a/sax/source/tools/fshelper.cxx
+++ b/sax/source/tools/fshelper.cxx
@@ -29,49 +29,6 @@ FastSerializerHelper::~FastSerializerHelper()
delete mpSerializer;
}
-void FastSerializerHelper::startElement(const char* elementName, ...)
-{
- FastAttributeList* pAttrList = new FastAttributeList( mxTokenHandler );
- va_list args;
- va_start(args, elementName);
- while (true)
- {
- const char* pName = va_arg(args, const char*);
- if (!pName)
- break;
- const char* pValue = va_arg(args, const char*);
- if (pValue)
- pAttrList->addUnknown(pName, pValue);
- }
- va_end(args);
- const com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList>
xAttrList(pAttrList);
- mpSerializer->startUnknownElement(::rtl::OUString(),
::rtl::OUString::createFromAscii(elementName), xAttrList);
-}
-
-void FastSerializerHelper::singleElement(const char* elementName, ...)
-{
- FastAttributeList* pAttrList = new FastAttributeList( mxTokenHandler );
- va_list args;
- va_start(args, elementName);
- while (true)
- {
- const char* pName = va_arg(args, const char*);
- if (!pName)
- break;
- const char* pValue = va_arg(args, const char*);
- if (pValue)
- pAttrList->addUnknown(pName, pValue);
- }
- va_end(args);
- const com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList>
xAttrList(pAttrList);
- mpSerializer->singleUnknownElement(::rtl::OUString(),
::rtl::OUString::createFromAscii(elementName), xAttrList);
-}
-
-void FastSerializerHelper::endElement(const char* elementName)
-{
- mpSerializer->endUnknownElement(::rtl::OUString(),
::rtl::OUString::createFromAscii(elementName));
-}
-
void FastSerializerHelper::startElementV(sal_Int32 elementTokenId, va_list args)
{
FastAttributeList* pAttrList = new FastAttributeList( mxTokenHandler );
@@ -119,11 +76,6 @@ void FastSerializerHelper::startElementV(sal_Int32 elementTokenId, XFastAttribut
}
-void FastSerializerHelper::singleElement(const char* elementName, XFastAttributeListRef xAttrList)
-{
- mpSerializer->singleUnknownElement(::rtl::OUString(),
::rtl::OUString::createFromAscii(elementName), xAttrList);
-}
-
void FastSerializerHelper::singleElementV(sal_Int32 elementTokenId, XFastAttributeListRef
xAttrList)
{
mpSerializer->singleFastElement(elementTokenId, xAttrList);
diff --git a/unusedcode.easy b/unusedcode.easy
index 26f593d..65495408 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1777,10 +1777,6 @@ sax::Converter::clearUndefinedChars(rtl::OUString&, rtl::OUString const&)
sax::Converter::convertAny(com::sun::star::uno::Any&, rtl::OUString const&, rtl::OUString const&)
sax::Converter::convertDouble(double&, rtl::OUString const&, short)
sax::Converter::convertNumber64(rtl::OUStringBuffer&, long)
-sax_fastparser::FastSerializerHelper::endElement(char const*)
-sax_fastparser::FastSerializerHelper::singleElement(char const*, ...)
-sax_fastparser::FastSerializerHelper::singleElement(char const*,
com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList>)
-sax_fastparser::FastSerializerHelper::startElement(char const*, ...)
sd::CopyDlg::LinkStubReset(void*, void*)
sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
--
1.7.8.3
Context
- [Libreoffice] [PATCH] Removing unused code · Alexander Bergmann
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.