[Libreoffice-commits] core.git: unusedcode.easy writerfilter/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Feb 19 16:08:04 CET 2014


 unusedcode.easy                                     |    1 
 writerfilter/source/resourcemodel/resourcemodel.cxx |   37 --------------------
 writerfilter/source/resourcemodel/resourcemodel.hxx |    1 
 3 files changed, 39 deletions(-)

New commits:
commit c23faa9a5a47e059536b99573da6832ef5705faf
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Feb 19 16:04:05 2014 +0100

    writerfilter: unused WW8TableManager
    
    Change-Id: I29a4b2326a8fe25c1f2288d6218e1e0a9b2ad3e5

diff --git a/unusedcode.easy b/unusedcode.easy
index 1388f49..c5f3dc6 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -369,7 +369,6 @@ svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short)
 utl::MediaDescriptor::PROP_DEEPDETECTION()
 utl::toISO8601(com::sun::star::util::Time const&)
 vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, int)
-writerfilter::WW8TableManager::WW8TableManager()
 writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::BinaryObj> >)
 writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::Properties> >)
 writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, rtl::OUString const&)
diff --git a/writerfilter/source/resourcemodel/resourcemodel.cxx b/writerfilter/source/resourcemodel/resourcemodel.cxx
index 275b377..bb07526 100644
--- a/writerfilter/source/resourcemodel/resourcemodel.cxx
+++ b/writerfilter/source/resourcemodel/resourcemodel.cxx
@@ -158,43 +158,6 @@ void WW8TableDataHandler::endCell(const string & end)
 
 // ----- WW8TableDataManager -------------------------------
 
-class WW8TableManager :
-    public TableManager<string, TablePropsRef_t>
-{
-    typedef TableDataHandler<string, TablePropsRef_t>
-    TableDataHandlerPointer_t;
-
-public:
-    WW8TableManager();
-    virtual ~WW8TableManager() {}
-    virtual void endParagraphGroup();
-    virtual bool sprm(Sprm & rSprm);
-};
-
-WW8TableManager::WW8TableManager()
-{
-    TableDataHandler<string, TablePropsRef_t>::Pointer_t pHandler(new WW8TableDataHandler());
-    setHandler(pHandler);
-}
-
-bool WW8TableManager::sprm(Sprm & rSprm)
-{
-    TableManager<string, TablePropsRef_t>::sprm(rSprm);
-    output.setDepth(getTableDepthNew());
-    return true;
-}
-
-void WW8TableManager::endParagraphGroup()
-{
-    string tmpStr = "<tabledepth depth=\"";
-    char sBuffer[256];
-    snprintf(sBuffer, sizeof(sBuffer), "%" SAL_PRIuUINT32, getTableDepthNew());
-    tmpStr += sBuffer;
-    tmpStr += "\"/>";
-    output.addItem(tmpStr);
-    TableManager<string, TablePropsRef_t>::endParagraphGroup();
-}
-
 void WW8BinaryObjHandler::data
 (const sal_uInt8 * buf, size_t length,
  writerfilter::Reference<Properties>::Pointer_t /*pRef*/)
diff --git a/writerfilter/source/resourcemodel/resourcemodel.hxx b/writerfilter/source/resourcemodel/resourcemodel.hxx
index ebbe356..3deb27e 100644
--- a/writerfilter/source/resourcemodel/resourcemodel.hxx
+++ b/writerfilter/source/resourcemodel/resourcemodel.hxx
@@ -19,7 +19,6 @@
 #include <resourcemodel/WW8ResourceModel.hxx>
 
 namespace writerfilter {
-class WW8TableManager;
 class WW8BinaryObjHandler : public BinaryObj
 {
 public:


More information about the Libreoffice-commits mailing list