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

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Sep 3 13:27:27 PDT 2011


 unusedcode.easy                                                      |    3 ---
 writerfilter/source/doctok/WW8DocumentImpl.cxx                       |    5 -----
 writerfilter/source/doctok/WW8DocumentImpl.hxx                       |    8 --------
 writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx |    4 ----
 writerfilter/unocomponent/debugservices/doctok/DocTokTestService.hxx |    1 -
 writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx   |    4 ----
 writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.hxx   |    1 -
 7 files changed, 26 deletions(-)

New commits:
commit 00fabc1ea04b20a45bd663d67b07b04fe4a1dc41
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Sep 3 22:26:53 2011 +0200

    drop unused parts

diff --git a/unusedcode.easy b/unusedcode.easy
index fbf665d..60862fa 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -3149,10 +3149,7 @@ writerfilter::dmapper::MeasureHandler::isAutoWidth() const
 writerfilter::dmapper::SectionPropertyMap::GetPageStyleName(bool)
 writerfilter::dmapper::SectionPropertyMap::SetPageStyleName(bool, rtl::OUString const&)
 writerfilter::dmapper::StyleSheetTable::resolveSprmProps(writerfilter::Sprm&)
-writerfilter::doctok::WW8DocumentImpl::fc2cp(writerfilter::doctok::Fc const&) const
-writerfilter::doctoktest::ScannerTestService_supportsService(rtl::OUString const&)
 writerfilter::ooxml::OOXMLFastContextHandler::getResourceString() const
-writerfilter::ooxmltest::ScannerTestService_supportsService(rtl::OUString const&)
 writerfilter::resourcemodel::Fraction::Fraction(writerfilter::resourcemodel::Fraction const&, writerfilter::resourcemodel::Fraction const&)
 ww8::WW8TableNodeInfo::getTable() const
 ww8::WW8TableNodeInfo::toString() const
diff --git a/writerfilter/source/doctok/WW8DocumentImpl.cxx b/writerfilter/source/doctok/WW8DocumentImpl.cxx
index 6c6e649..407ea2d 100644
--- a/writerfilter/source/doctok/WW8DocumentImpl.cxx
+++ b/writerfilter/source/doctok/WW8DocumentImpl.cxx
@@ -1325,11 +1325,6 @@ Fc WW8DocumentImpl::cp2fc(const Cp & cp) const
     return mpPieceTable->cp2fc(cp);
 }
 
-Cp WW8DocumentImpl::fc2cp(const Fc & fc) const
-{
-    return mpPieceTable->fc2cp(fc);
-}
-
 CpAndFc WW8DocumentImpl::getCpAndFc(const Cp & cp, PropertyType type) const
 {
     Fc aFc = cp2fc(cp);
diff --git a/writerfilter/source/doctok/WW8DocumentImpl.hxx b/writerfilter/source/doctok/WW8DocumentImpl.hxx
index 04e3646..383d801 100644
--- a/writerfilter/source/doctok/WW8DocumentImpl.hxx
+++ b/writerfilter/source/doctok/WW8DocumentImpl.hxx
@@ -712,14 +712,6 @@ public:
     Fc cp2fc(const Cp & cp) const;
 
     /**
-       Return the character position according to file character
-       position.
-
-       @param fc  the file character position
-     */
-    Cp fc2cp(const Fc & fc) const;
-
-    /**
        Return CpAndFc related to character position.
 
        @param cp    the character position
diff --git a/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx b/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx
index 926a9dc..0a8e650 100644
--- a/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx
+++ b/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx
@@ -130,10 +130,6 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
     return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( ScannerTestService::IMPLEMENTATION_NAME ));
 }
 
-sal_Bool SAL_CALL ScannerTestService_supportsService( const ::rtl::OUString& ServiceName )
-{
-    return ServiceName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( ScannerTestService::SERVICE_NAME )) );
-}
 uno::Sequence< rtl::OUString > SAL_CALL ScannerTestService_getSupportedServiceNames(  ) throw (uno::RuntimeException)
 {
     uno::Sequence < rtl::OUString > aRet(1);
diff --git a/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.hxx b/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.hxx
index cbdc8b4..8bcfc37 100644
--- a/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.hxx
+++ b/writerfilter/unocomponent/debugservices/doctok/DocTokTestService.hxx
@@ -52,7 +52,6 @@ public:
 };
 
 ::rtl::OUString ScannerTestService_getImplementationName ();
-sal_Bool SAL_CALL ScannerTestService_supportsService( const ::rtl::OUString& ServiceName );
 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL ScannerTestService_getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ScannerTestService_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &xContext) throw( ::com::sun::star::uno::Exception );
 
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
index 45d3fe8..ab225d7 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
@@ -162,10 +162,6 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
     return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ( ScannerTestService::IMPLEMENTATION_NAME ));
 }
 
-sal_Bool SAL_CALL ScannerTestService_supportsService( const ::rtl::OUString& ServiceName )
-{
-    return ServiceName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( ScannerTestService::SERVICE_NAME )) );
-}
 uno::Sequence< rtl::OUString > SAL_CALL ScannerTestService_getSupportedServiceNames(  ) throw (uno::RuntimeException)
 {
     uno::Sequence < rtl::OUString > aRet(1);
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.hxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.hxx
index ef4fe45..0b222a8 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.hxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.hxx
@@ -52,7 +52,6 @@ public:
 };
 
 ::rtl::OUString ScannerTestService_getImplementationName ();
-sal_Bool SAL_CALL ScannerTestService_supportsService( const ::rtl::OUString& ServiceName );
 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL ScannerTestService_getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ScannerTestService_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &xContext) throw( ::com::sun::star::uno::Exception );
 


More information about the Libreoffice-commits mailing list