diff --git a/unusedcode.easy b/unusedcode.easy index 15d965983033..edd7f8e01ac4 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -327,7 +327,3 @@ std::vector, std:: svl::SharedStringPool::SharedStringPool() svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short) vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool) -writerfilter::dump(writerfilter::OutputWithDepth, std::allocator > >&, char const*, boost::shared_ptr >) -writerfilter::dump(writerfilter::OutputWithDepth, std::allocator > >&, char const*, boost::shared_ptr >) -writerfilter::dump(writerfilter::OutputWithDepth, std::allocator > >&, char const*, rtl::OUString const&) -writerfilter::dump(writerfilter::OutputWithDepth, std::allocator > >&, char const*, unsigned int) diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 01106ae407f7..48b8fa9e9719 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -397,15 +397,6 @@ protected: ~Sprm() {} }; -/** - Creates handler for a stream. -*/ - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC dump(OutputWithDepth & o, const char * name, writerfilter::Reference::Pointer_t props); - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC dump(OutputWithDepth & o, const char * name, sal_uInt32 n); - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC dump(OutputWithDepth & /*o*/, const char * /*name*/, - const OUString & /*str*/); - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC dump(OutputWithDepth & o, const char * name, writerfilter::Reference::Pointer_t binary); - } #endif // INCLUDED_WW8RESOURCEMODEL_HXX diff --git a/writerfilter/source/resourcemodel/resourcemodel.cxx b/writerfilter/source/resourcemodel/resourcemodel.cxx index bb075267e1c1..23abf4c8ba8e 100644 --- a/writerfilter/source/resourcemodel/resourcemodel.cxx +++ b/writerfilter/source/resourcemodel/resourcemodel.cxx @@ -41,32 +41,6 @@ public: ResourceModelOutputWithDepth output; -void dump(OutputWithDepth & /*o*/, const char * /*name*/, - writerfilter::Reference::Pointer_t /*props*/) -{ -} - -void dump(OutputWithDepth & o, const char * name, sal_uInt32 n) -{ - char sBuffer[256]; - snprintf(sBuffer, sizeof(sBuffer), "%" SAL_PRIuUINT32, n); - string tmpStr = name; - tmpStr += "="; - tmpStr += sBuffer; - - o.addItem(tmpStr); -} - -void dump(OutputWithDepth & /*o*/, const char * /*name*/, - const OUString & /*str*/) -{ -} - -void dump(OutputWithDepth & /*o*/, const char * /*name*/, - writerfilter::Reference::Pointer_t /*binary*/) -{ -} - string gInfo = ""; // ------- WW8TableDataHandler ---------