[Libreoffice-commits] .: 2 commits - basegfx/inc basegfx/source canvas/inc canvas/source comphelper/inc comphelper/source unusedcode.easy

Michael Meeks michael at kemper.freedesktop.org
Sat Feb 25 12:35:06 PST 2012


 basegfx/inc/basegfx/color/bcolortools.hxx             |    2 
 basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx |    8 
 basegfx/inc/basegfx/polygon/b2dpolygontools.hxx       |   12 -
 basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx  |    5 
 basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx   |    3 
 basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx     |    3 
 basegfx/inc/basegfx/polygon/b3dpolygontools.hxx       |    9 -
 basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx   |   11 -
 basegfx/inc/basegfx/range/b2ibox.hxx                  |   23 --
 basegfx/source/color/bcolortools.cxx                  |   11 -
 basegfx/source/polygon/b2dpolygoncutandtouch.cxx      |   41 ----
 basegfx/source/polygon/b2dpolygontools.cxx            |   24 --
 basegfx/source/polygon/b2dpolypolygoncutter.cxx       |    8 
 basegfx/source/polygon/b2dpolypolygontools.cxx        |   22 --
 basegfx/source/polygon/b3dpolygonclipper.cxx          |  156 ------------------
 basegfx/source/polygon/b3dpolygontools.cxx            |   96 -----------
 basegfx/source/polygon/b3dpolypolygontools.cxx        |   36 ----
 basegfx/source/range/b2xrange.cxx                     |    9 -
 canvas/inc/canvas/verifyinput.hxx                     |   46 -----
 canvas/source/tools/verifyinput.cxx                   |  126 --------------
 comphelper/inc/comphelper/accessibleeventnotifier.hxx |    5 
 comphelper/inc/comphelper/accimplaccess.hxx           |   18 --
 comphelper/inc/comphelper/attributelist.hxx           |    2 
 comphelper/inc/comphelper/containermultiplexer.hxx    |    2 
 comphelper/inc/comphelper/interaction.hxx             |    2 
 comphelper/inc/comphelper/logging.hxx                 |   47 -----
 comphelper/inc/comphelper/mimeconfighelper.hxx        |    2 
 comphelper/inc/comphelper/officeresourcebundle.hxx    |   13 -
 comphelper/inc/comphelper/propertysethelper.hxx       |    4 
 comphelper/inc/comphelper/propertysetinfo.hxx         |    9 -
 comphelper/inc/comphelper/serviceinfohelper.hxx       |    2 
 comphelper/inc/comphelper/streamsection.hxx           |    4 
 comphelper/source/container/containermultiplexer.cxx  |   12 -
 comphelper/source/misc/accessibleeventnotifier.cxx    |   14 -
 comphelper/source/misc/accimplaccess.cxx              |   12 -
 comphelper/source/misc/interaction.cxx                |    6 
 comphelper/source/misc/logging.cxx                    |   85 ---------
 comphelper/source/misc/mimeconfighelper.cxx           |   16 -
 comphelper/source/misc/officeresourcebundle.cxx       |    8 
 comphelper/source/misc/serviceinfohelper.cxx          |   24 --
 comphelper/source/property/propertysethelper.cxx      |   17 -
 comphelper/source/property/propertysetinfo.cxx        |    5 
 comphelper/source/streaming/streamsection.cxx         |   14 -
 comphelper/source/xml/attributelist.cxx               |   25 --
 unusedcode.easy                                       |   34 ---
 45 files changed, 1033 deletions(-)

New commits:
commit ba8919e8129b5e8da112ad4f1d11bb39096c1e0e
Author: Elton Chung <elton at layerjet.com>
Date:   Sat Feb 25 13:52:32 2012 +0800

    Remove unused code

diff --git a/canvas/inc/canvas/verifyinput.hxx b/canvas/inc/canvas/verifyinput.hxx
index 8c4c11f..60b168e 100644
--- a/canvas/inc/canvas/verifyinput.hxx
+++ b/canvas/inc/canvas/verifyinput.hxx
@@ -61,7 +61,6 @@ namespace com { namespace sun { namespace star { namespace rendering
     struct Texture;
     struct ViewState;
     struct IntegerBitmapLayout;
-    struct FloatingPointBitmapLayout;
     struct FontRequest;
     struct FontInfo;
     class  XCanvas;
@@ -149,29 +148,6 @@ namespace canvas
                               ::com::sun::star::uno::XInterface >&          xIf,
                           ::sal_Int16                                       nArgPos );
 
-        /** Verify that the given size contains valid floating point
-            values.
-
-            @param rSize
-            Size to check
-
-            @param xIf
-            The interface that should be reported as the one
-            generating the exception.
-
-            @param nArgPos
-            Argument position on the call site (i.e. the position of
-            the argument, checked here, on the UNO interface
-            method. Counting starts at 0).
-
-            @throws an lang::IllegalArgumentException, if anything is wrong
-         */
-        CANVASTOOLS_DLLPUBLIC void verifyInput( const ::com::sun::star::geometry::RealSize2D&   rSize,
-                          const char*                                   pStr,
-                          const ::com::sun::star::uno::Reference<
-                              ::com::sun::star::uno::XInterface >&      xIf,
-                          ::sal_Int16                                   nArgPos );
-
         /** Verify that the given bezier segment contains valid
             floating point values.
 
@@ -356,28 +332,6 @@ namespace canvas
                                    ::com::sun::star::uno::XInterface >&             xIf,
                           ::sal_Int16                                               nArgPos );
 
-        /** Basic check for bitmap layout validity.
-
-            @param bitmapLayout
-            Bitmap layout to check
-
-            @param xIf
-            The interface that should be reported as the one
-            generating the exception.
-
-            @param nArgPos
-            Argument position on the call site (i.e. the position of
-            the argument, checked here, on the UNO interface
-            method. Counting starts at 0).
-
-            @throws an lang::IllegalArgumentException, if anything is wrong
-         */
-        CANVASTOOLS_DLLPUBLIC void verifyInput( const ::com::sun::star::rendering::FloatingPointBitmapLayout& bitmapLayout,
-                          const char*                                                   pStr,
-                          const ::com::sun::star::uno::Reference<
-                                   ::com::sun::star::uno::XInterface >&                 xIf,
-                          ::sal_Int16                                                   nArgPos );
-
         /** Basic check for font info validity.
 
             @param fontInfo
diff --git a/canvas/source/tools/verifyinput.cxx b/canvas/source/tools/verifyinput.cxx
index f7929a4..32ac8bb 100644
--- a/canvas/source/tools/verifyinput.cxx
+++ b/canvas/source/tools/verifyinput.cxx
@@ -101,40 +101,6 @@ namespace canvas
 #endif
         }
 
-        void verifyInput( const geometry::RealSize2D&               rSize,
-                          const char*                               pStr,
-                          const uno::Reference< uno::XInterface >&  xIf,
-                          ::sal_Int16                               nArgPos )
-        {
-            (void)pStr; (void)xIf; (void)nArgPos;
-
-#if OSL_DEBUG_LEVEL > 0
-            if( !::rtl::math::isFinite( rSize.Width ) )
-            {
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): size.Width value contains infinite or NAN" )),
-                    xIf,
-                    nArgPos );
-            }
-
-            if( !::rtl::math::isFinite( rSize.Height ) )
-            {
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): size.Height value contains infinite or NAN" )),
-                    xIf,
-                    nArgPos );
-            }
-#else
-            if( !::rtl::math::isFinite( rSize.Width ) ||
-                !::rtl::math::isFinite( rSize.Height ) )
-            {
-                throw lang::IllegalArgumentException();
-            }
-#endif
-        }
-
         void verifyInput( const geometry::RealBezierSegment2D&      rSegment,
                           const char*                               pStr,
                           const uno::Reference< uno::XInterface >&  xIf,
@@ -667,98 +633,6 @@ namespace canvas
             }
         }
 
-        void verifyInput( const rendering::FloatingPointBitmapLayout&   bitmapLayout,
-                          const char*                                   pStr,
-                          const uno::Reference< uno::XInterface >&      xIf,
-                          ::sal_Int16                                   nArgPos )
-        {
-            (void)pStr; (void)xIf; (void)nArgPos;
-
-            if( bitmapLayout.ScanLines < 0 )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's ScanLines is negative" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-
-            if( bitmapLayout.ScanLineBytes < 0 )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's ScanLineBytes is negative" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-
-            if( !bitmapLayout.ColorSpace.is() )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's ColorSpace is invalid" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-
-            if( bitmapLayout.NumComponents < 0 )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's NumComponents is negative" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-
-            if( bitmapLayout.Endianness < util::Endianness::LITTLE ||
-                bitmapLayout.Endianness > util::Endianness::BIG )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's Endianness value is out of range (" )) +
-                    ::rtl::OUString::valueOf(sal::static_int_cast<sal_Int32>(bitmapLayout.Endianness)) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " not known)" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-
-            if( bitmapLayout.Format < rendering::FloatingPointBitmapFormat::HALFFLOAT ||
-                bitmapLayout.Format > rendering::FloatingPointBitmapFormat::DOUBLE )
-            {
-#if OSL_DEBUG_LEVEL > 0
-                throw lang::IllegalArgumentException(
-                    ::rtl::OUString::createFromAscii(pStr) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ": verifyInput(): bitmap layout's Format value is out of range (" )) +
-                    ::rtl::OUString::valueOf(sal::static_int_cast<sal_Int32>(bitmapLayout.Format)) +
-                    ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " not known)" )),
-                    xIf,
-                    nArgPos );
-#else
-                throw lang::IllegalArgumentException();
-#endif
-            }
-        }
-
         void verifyInput( const rendering::FontInfo&                /*fontInfo*/,
                           const char*                               /*pStr*/,
                           const uno::Reference< uno::XInterface >&  /*xIf*/,
diff --git a/comphelper/inc/comphelper/accessibleeventnotifier.hxx b/comphelper/inc/comphelper/accessibleeventnotifier.hxx
index c80b8ff..385866a 100644
--- a/comphelper/inc/comphelper/accessibleeventnotifier.hxx
+++ b/comphelper/inc/comphelper/accessibleeventnotifier.hxx
@@ -129,11 +129,6 @@ namespace comphelper
                         const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& _rxListener
                     ) SAL_THROW( ( ) );
 
-        /** retrieves the set of listeners registered for a given client
-        */
-        static ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > >
-                        getEventListeners( const TClientId _nClient ) SAL_THROW( ( ) );
-
         /** adds an event, which is to be braodcasted, to the queue
 
             @param _nClient
diff --git a/comphelper/inc/comphelper/attributelist.hxx b/comphelper/inc/comphelper/attributelist.hxx
index ed5e397..50ad1aa 100644
--- a/comphelper/inc/comphelper/attributelist.hxx
+++ b/comphelper/inc/comphelper/attributelist.hxx
@@ -51,8 +51,6 @@ public:
 
     // methods that are not contained in any interface
     void AddAttribute( const ::rtl::OUString &sName , const ::rtl::OUString &sType , const ::rtl::OUString &sValue );
-    void Clear();
-    void AppendAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & );
 
     // ::com::sun::star::xml::sax::XAttributeList
     virtual sal_Int16 SAL_CALL getLength(void)
diff --git a/comphelper/inc/comphelper/containermultiplexer.hxx b/comphelper/inc/comphelper/containermultiplexer.hxx
index 68990ec..56124d2 100644
--- a/comphelper/inc/comphelper/containermultiplexer.hxx
+++ b/comphelper/inc/comphelper/containermultiplexer.hxx
@@ -97,8 +97,6 @@ namespace comphelper
         virtual void SAL_CALL elementReplaced( const ::com::sun::star::container::ContainerEvent& Event ) throw(::com::sun::star::uno::RuntimeException);
 
         // locking the multiplexer
-        void        lock();
-        void        unlock();
         sal_Int32   locked() const { return m_nLockCount; }
 
         /// dispose the object. No multiplexing anymore
diff --git a/comphelper/inc/comphelper/interaction.hxx b/comphelper/inc/comphelper/interaction.hxx
index a8f0df5..e55ae40 100644
--- a/comphelper/inc/comphelper/interaction.hxx
+++ b/comphelper/inc/comphelper/interaction.hxx
@@ -155,8 +155,6 @@ namespace comphelper
 
         /// add a new continuation
         void addContinuation(const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation >& _rxContinuation);
-        /// clear all continuations
-        void clearContinuations();
 
     // XInteractionRequest
         virtual ::com::sun::star::uno::Any SAL_CALL getRequest(  ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/comphelper/inc/comphelper/logging.hxx b/comphelper/inc/comphelper/logging.hxx
index e332f05..5ad80ec 100644
--- a/comphelper/inc/comphelper/logging.hxx
+++ b/comphelper/inc/comphelper/logging.hxx
@@ -136,39 +136,9 @@ namespace comphelper
         ~EventLogger();
 
     public:
-        /** returns the name of the logger
-        */
-        const ::rtl::OUString&  getName() const;
-
-        /// returns the current log level threshold of the logger
-        sal_Int32   getLogLevel() const;
-
-        /// sets a new log level threshold of the logger
-        void        setLogLevel( const sal_Int32 _nLogLevel ) const;
-
         /// determines whether an event with the given level would be logged
         bool        isLoggable( const sal_Int32 _nLogLevel ) const;
 
-        /** adds the given log handler to the logger's set of handlers.
-
-            Note that normally, you would not use this method: The logger implementations
-            initialize themselves from the configuration, where usually, a default log handler
-            is specified. In this case, the logger will create and use this handler.
-
-            @return
-                <TRUE/> if and only if the addition was successful (as far as this can be detected
-                from outside the <code>XLogger</code>'s implementation.
-        */
-        bool        addLogHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::logging::XLogHandler >& _rxLogHandler );
-
-        /** removes the given log handler from the logger's set of handlers.
-
-            @return
-                <TRUE/> if and only if the addition was successful (as far as this can be detected
-                from outside the <code>XLogger</code>'s implementation.
-        */
-        bool        removeLogHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::logging::XLogHandler >& _rxLogHandler );
-
         //----------------------------------------------------------------
         //- XLogger::log equivalents/wrappers
         //- string messages
@@ -572,23 +542,6 @@ namespace comphelper
         /** creates a resource based event logger
             @param _rxContext
                 the component context for creating new components
-            @param _rResourceBundleBaseName
-                the base name of the resource bundle to use. Will be used
-                in conjunction with XResourceBundleLoader::loadResource.
-            @param _rLoggerName
-                the name of the logger to work with. If empty, the office-wide
-                default logger will be used.
-
-        */
-        ResourceBasedEventLogger(
-            const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
-            const ::rtl::OUString& _rResourceBundleBaseName,
-            const ::rtl::OUString& _rLoggerName = ::rtl::OUString()
-        );
-
-        /** creates a resource based event logger
-            @param _rxContext
-                the component context for creating new components
             @param _pResourceBundleBaseName
                 the ASCII base name of the resource bundle to use. Will be used
                 in conjunction with XResourceBundleLoader::loadResource.
diff --git a/comphelper/inc/comphelper/officeresourcebundle.hxx b/comphelper/inc/comphelper/officeresourcebundle.hxx
index 345790e..4946fee 100644
--- a/comphelper/inc/comphelper/officeresourcebundle.hxx
+++ b/comphelper/inc/comphelper/officeresourcebundle.hxx
@@ -55,19 +55,6 @@ namespace comphelper
         ::std::auto_ptr< ResourceBundle_Impl >  m_pImpl;
 
     public:
-        /** constructs a resource bundle
-            @param  _context
-                the component context to operate in
-            @param  _bundleBaseName
-                the base name of the resource file which should be accessed (*without* the SUPD!)
-            @raises ::com::sun::star::lang::NullPointerException
-                if the given component context is <NULL/>
-        */
-        OfficeResourceBundle(
-            const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _context,
-            const ::rtl::OUString& _bundleBaseName
-        );
-
         /** constructs a resource bundle with the resource bundle given as 8-bit ASCII name
 
             This is a convenience constructor only, it does nothing different than the constructor
diff --git a/comphelper/inc/comphelper/propertysethelper.hxx b/comphelper/inc/comphelper/propertysethelper.hxx
index ea6204d..e22cb8d 100644
--- a/comphelper/inc/comphelper/propertysethelper.hxx
+++ b/comphelper/inc/comphelper/propertysethelper.hxx
@@ -62,11 +62,7 @@ protected:
     virtual void _setPropertyToDefault( const comphelper::PropertyMapEntry* pEntry )  throw(::com::sun::star::beans::UnknownPropertyException );
     virtual ::com::sun::star::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException );
 
-    // allow setting of properties after construction
-    void setInfo( comphelper::PropertySetInfo* pInfo ) throw();
-
 public:
-    PropertySetHelper( );
     PropertySetHelper( comphelper::PropertySetInfo* pInfo ) throw();
     PropertySetHelper( comphelper::PropertySetInfo* pInfo, __sal_NoAcquire ) throw();
     virtual ~PropertySetHelper() throw();
diff --git a/comphelper/inc/comphelper/propertysetinfo.hxx b/comphelper/inc/comphelper/propertysetinfo.hxx
index 80a200a..df031a4 100644
--- a/comphelper/inc/comphelper/propertysetinfo.hxx
+++ b/comphelper/inc/comphelper/propertysetinfo.hxx
@@ -79,15 +79,6 @@ public:
     */
     void add( PropertyMapEntry* pMap ) throw();
 
-    /** adds an array of PropertyMapEntry to this instance
-
-        <p>At most the number of entries given will be added, if no terminating entry (<code>mpName == <NULL/></code>) is encountered.</p>
-
-        <p>If <arg>nCount</arg> is less than 0, it is ignored and all entries (up to, but not including, the terminating
-        one) are added.</p>
-    */
-    void add( PropertyMapEntry* pMap, sal_Int32 nCount ) throw();
-
     /** removes an already added PropertyMapEntry which string in mpName equals to aName */
     void remove( const rtl::OUString& aName ) throw();
 
diff --git a/comphelper/inc/comphelper/serviceinfohelper.hxx b/comphelper/inc/comphelper/serviceinfohelper.hxx
index 29ffe3b..e742c93 100644
--- a/comphelper/inc/comphelper/serviceinfohelper.hxx
+++ b/comphelper/inc/comphelper/serviceinfohelper.hxx
@@ -49,8 +49,6 @@ public:
     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
 
     // helper
-    static ::com::sun::star::uno::Sequence< ::rtl::OUString > concatSequences( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq1,
-            const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq2 ) throw();
     static void addToSequence( ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq, sal_uInt16 nServices, /* sal_Char* */... ) throw();
     static sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& SupportedServices ) throw();
 };
diff --git a/comphelper/inc/comphelper/streamsection.hxx b/comphelper/inc/comphelper/streamsection.hxx
index fb17581..3a39d9e 100644
--- a/comphelper/inc/comphelper/streamsection.hxx
+++ b/comphelper/inc/comphelper/streamsection.hxx
@@ -78,10 +78,6 @@ public:
         If constructed for reading, any remaining bytes 'til the end of the section will be skipped.
     */
     ~OStreamSection();
-    /**
-        return the number of bytes which are still available
-    */
-    sal_Int32 available();
 };
 
 }   // namespace comphelper
diff --git a/comphelper/source/container/containermultiplexer.cxx b/comphelper/source/container/containermultiplexer.cxx
index d5a957a..b4d5723 100644
--- a/comphelper/source/container/containermultiplexer.cxx
+++ b/comphelper/source/container/containermultiplexer.cxx
@@ -127,18 +127,6 @@ namespace comphelper
     }
 
     //------------------------------------------------------------------
-    void OContainerListenerAdapter::lock()
-    {
-        ++m_nLockCount;
-    }
-
-    //------------------------------------------------------------------
-    void OContainerListenerAdapter::unlock()
-    {
-        --m_nLockCount;
-    }
-
-    //------------------------------------------------------------------
     void OContainerListenerAdapter::dispose()
     {
         if (m_xContainer.is())
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx
index cae07bc..636d356 100644
--- a/comphelper/source/misc/accessibleeventnotifier.cxx
+++ b/comphelper/source/misc/accessibleeventnotifier.cxx
@@ -202,20 +202,6 @@ namespace comphelper
     }
 
     //---------------------------------------------------------------------
-    Sequence< Reference< XInterface > > AccessibleEventNotifier::getEventListeners( const TClientId _nClient ) SAL_THROW( ( ) )
-    {
-        Sequence< Reference< XInterface > > aListeners;
-
-        ::osl::MutexGuard aGuard( lclMutex::get() );
-
-        ClientMap::iterator aClientPos;
-        if ( implLookupClient( _nClient, aClientPos ) )
-            aListeners = aClientPos->second->getElements();
-
-        return aListeners;
-    }
-
-    //---------------------------------------------------------------------
     void AccessibleEventNotifier::addEvent( const TClientId _nClient, const AccessibleEventObject& _rEvent ) SAL_THROW( ( ) )
     {
         Sequence< Reference< XInterface > > aListeners;
diff --git a/comphelper/source/misc/interaction.cxx b/comphelper/source/misc/interaction.cxx
index cce5e6a..fd8bce0 100644
--- a/comphelper/source/misc/interaction.cxx
+++ b/comphelper/source/misc/interaction.cxx
@@ -74,12 +74,6 @@ namespace comphelper
     }
 
     //-------------------------------------------------------------------------
-    void OInteractionRequest::clearContinuations()
-    {
-        m_aContinuations.realloc(0);
-    }
-
-    //-------------------------------------------------------------------------
     Any SAL_CALL OInteractionRequest::getRequest(  ) throw(RuntimeException)
     {
         return m_aRequest;
diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx
index 1d95b15..98a497c 100644
--- a/comphelper/source/misc/logging.cxx
+++ b/comphelper/source/misc/logging.cxx
@@ -127,44 +127,6 @@ namespace comphelper
     }
 
     //--------------------------------------------------------------------
-    const ::rtl::OUString& EventLogger::getName() const
-    {
-        return m_pImpl->getName();
-    }
-
-    //--------------------------------------------------------------------
-    sal_Int32 EventLogger::getLogLevel() const
-    {
-        try
-        {
-            if ( m_pImpl->isValid() )
-                return m_pImpl->getLogger()->getLevel();
-        }
-        catch( const Exception& e )
-        {
-            (void)e;
-            OSL_FAIL( "EventLogger::getLogLevel: caught an exception!" );
-        }
-
-        return LogLevel::OFF;
-    }
-
-    //--------------------------------------------------------------------
-    void EventLogger::setLogLevel( const sal_Int32 _nLogLevel ) const
-    {
-        try
-        {
-            if ( m_pImpl->isValid() )
-                m_pImpl->getLogger()->setLevel( _nLogLevel );
-        }
-        catch( const Exception& e )
-        {
-            (void)e;
-            OSL_FAIL( "EventLogger::setLogLevel: caught an exception!" );
-        }
-    }
-
-    //--------------------------------------------------------------------
     bool EventLogger::isLoggable( const sal_Int32 _nLogLevel ) const
     {
         if ( !m_pImpl->isValid() )
@@ -184,44 +146,6 @@ namespace comphelper
     }
 
     //--------------------------------------------------------------------
-    bool EventLogger::addLogHandler( const Reference< XLogHandler >& _rxLogHandler )
-    {
-        try
-        {
-            if ( m_pImpl->isValid() )
-            {
-                m_pImpl->getLogger()->addLogHandler( _rxLogHandler );
-                return true;
-            }
-        }
-        catch( const Exception& e )
-        {
-            (void)e;
-            OSL_FAIL( "EventLogger::addLogHandler: caught an exception!" );
-        }
-        return false;
-    }
-
-    //--------------------------------------------------------------------
-    bool EventLogger::removeLogHandler( const Reference< XLogHandler >& _rxLogHandler )
-    {
-        try
-        {
-            if ( m_pImpl->isValid() )
-            {
-                m_pImpl->getLogger()->removeLogHandler( _rxLogHandler );
-                return true;
-            }
-        }
-        catch( const Exception& e )
-        {
-            (void)e;
-            OSL_FAIL( "EventLogger::removeLogHandler: caught an exception!" );
-        }
-        return false;
-    }
-
-    //--------------------------------------------------------------------
     namespace
     {
         void    lcl_replaceParameter( ::rtl::OUString& _inout_Message, const ::rtl::OUString& _rPlaceHolder, const ::rtl::OUString& _rReplacement )
@@ -363,15 +287,6 @@ namespace comphelper
     //= ResourceBasedEventLogger
     //====================================================================
     //--------------------------------------------------------------------
-    ResourceBasedEventLogger::ResourceBasedEventLogger( const Reference< XComponentContext >& _rxContext, const ::rtl::OUString& _rResourceBundleBaseName,
-        const ::rtl::OUString& _rLoggerName )
-        :EventLogger( _rxContext, _rLoggerName )
-        ,m_pData( new ResourceBasedEventLogger_Data )
-    {
-        m_pData->sBundleBaseName = _rResourceBundleBaseName;
-    }
-
-    //--------------------------------------------------------------------
     ResourceBasedEventLogger::ResourceBasedEventLogger( const Reference< XComponentContext >& _rxContext, const sal_Char* _pResourceBundleBaseName,
         const sal_Char* _pAsciiLoggerName )
         :EventLogger( _rxContext, _pAsciiLoggerName )
diff --git a/comphelper/source/misc/officeresourcebundle.cxx b/comphelper/source/misc/officeresourcebundle.cxx
index 1619318..db51b13 100644
--- a/comphelper/source/misc/officeresourcebundle.cxx
+++ b/comphelper/source/misc/officeresourcebundle.cxx
@@ -202,14 +202,6 @@ namespace comphelper
     //= OfficeResourceBundle
     //====================================================================
     //--------------------------------------------------------------------
-    OfficeResourceBundle::OfficeResourceBundle( const Reference< XComponentContext >& _context, const ::rtl::OUString& _bundleBaseName )
-        :m_pImpl( new ResourceBundle_Impl( _context, _bundleBaseName ) )
-    {
-        if ( !_context.is() )
-            throw NullPointerException();
-    }
-
-    //--------------------------------------------------------------------
     OfficeResourceBundle::OfficeResourceBundle( const Reference< XComponentContext >& _context, const sal_Char* _bundleBaseAsciiName )
         :m_pImpl( new ResourceBundle_Impl( _context, ::rtl::OUString::createFromAscii( _bundleBaseAsciiName ) ) )
     {
diff --git a/comphelper/source/misc/serviceinfohelper.cxx b/comphelper/source/misc/serviceinfohelper.cxx
index f90598e..1d648ae 100644
--- a/comphelper/source/misc/serviceinfohelper.cxx
+++ b/comphelper/source/misc/serviceinfohelper.cxx
@@ -63,30 +63,6 @@ sal_Bool SAL_CALL ServiceInfoHelper::supportsService( const ::rtl::OUString& Ser
     return aSeq;
 }
 
-/** this method concatenates the given sequences and returns the result
- */
-::com::sun::star::uno::Sequence< ::rtl::OUString > ServiceInfoHelper::concatSequences( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq1,
-        const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq2 ) throw()
-{
-    const sal_Int32 nLen1 = rSeq1.getLength();
-    const sal_Int32 nLen2 = rSeq2.getLength();
-
-    ::com::sun::star::uno::Sequence< ::rtl::OUString > aSeq( nLen1 + nLen2 );
-
-    ::rtl::OUString* pStrings = aSeq.getArray();
-
-    sal_Int32 nIdx;
-    const ::rtl::OUString* pStringSrc = rSeq1.getConstArray();
-    for( nIdx = 0; nIdx < nLen1; nIdx++ )
-        *pStrings++ = *pStringSrc++;
-
-    pStringSrc = rSeq2.getConstArray();
-    for( nIdx = 0; nIdx < nLen2; nIdx++ )
-        *pStrings++ = *pStringSrc++;
-
-    return aSeq;
-}
-
 /** this method adds a variable number of char pointer to a given Sequence
  */
 void ServiceInfoHelper::addToSequence( ::com::sun::star::uno::Sequence< ::rtl::OUString >& rSeq, sal_uInt16 nServices, /* char * */ ... ) throw()
diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx
index 19646af..43b2b4d 100644
--- a/comphelper/source/property/propertysethelper.cxx
+++ b/comphelper/source/property/propertysethelper.cxx
@@ -66,13 +66,6 @@ PropertyMapEntry* PropertySetHelperImpl::find( const OUString& aName ) const thr
 
 ///////////////////////////////////////////////////////////////////////
 
-PropertySetHelper::PropertySetHelper( )
-{
-    mp = new PropertySetHelperImpl;
-    mp->mpInfo = new PropertySetInfo;
-    mp->mpInfo->acquire();
-}
-
 PropertySetHelper::PropertySetHelper( comphelper::PropertySetInfo* pInfo ) throw()
 {
     mp = new PropertySetHelperImpl;
@@ -92,16 +85,6 @@ PropertySetHelper::~PropertySetHelper() throw()
     delete mp;
 }
 
-void PropertySetHelper::setInfo( comphelper::PropertySetInfo* pInfo ) throw()
-{
-    OSL_ENSURE( pInfo != NULL, "need pInfo" );
-    OSL_ENSURE( mp->mpInfo != NULL, "where's the old pInfo?" );
-
-    mp->mpInfo->release();
-    mp->mpInfo = pInfo;
-    mp->mpInfo->acquire();
-}
-
 // XPropertySet
 Reference< XPropertySetInfo > SAL_CALL PropertySetHelper::getPropertySetInfo(  ) throw(RuntimeException)
 {
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx
index 5472777..c007f6b 100644
--- a/comphelper/source/property/propertysetinfo.cxx
+++ b/comphelper/source/property/propertysetinfo.cxx
@@ -182,11 +182,6 @@ void PropertySetInfo::add( PropertyMapEntry* pMap ) throw()
     mpMap->add( pMap );
 }
 
-void PropertySetInfo::add( PropertyMapEntry* pMap, sal_Int32 nCount ) throw()
-{
-    mpMap->add( pMap, nCount );
-}
-
 void PropertySetInfo::remove( const rtl::OUString& aName ) throw()
 {
     mpMap->remove( aName );
diff --git a/comphelper/source/streaming/streamsection.cxx b/comphelper/source/streaming/streamsection.cxx
index 249a164..25b1efe 100644
--- a/comphelper/source/streaming/streamsection.cxx
+++ b/comphelper/source/streaming/streamsection.cxx
@@ -101,20 +101,6 @@ OStreamSection::~OStreamSection()
     }
 }
 // -----------------------------------------------------------------------------
-sal_Int32 OStreamSection::available()
-{
-    sal_Int32 nBytes = 0;
-    try
-    {   // don't allow any exceptions to leave this block, this may be called during the stack unwinding of an exception
-        if (m_xInStream.is() &&  m_xMarkStream.is())
-            nBytes = m_xMarkStream->offsetToMark(m_nBlockStart) - sizeof(m_nBlockLen);
-    }
-    catch(const staruno::Exception&)
-    {
-    }
-    return nBytes;
-}
-// -----------------------------------------------------------------------------
 
 }   // namespace comphelper
 
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx
index a31ea94..5fbb81f 100644
--- a/comphelper/source/xml/attributelist.cxx
+++ b/comphelper/source/xml/attributelist.cxx
@@ -131,31 +131,6 @@ void AttributeList::AddAttribute(   const OUString &sName ,
     m_pImpl->vecAttribute.push_back( TagAttribute_Impl( sName , sType , sValue ) );
 }
 
-void AttributeList::Clear()
-{
-    m_pImpl->vecAttribute.clear();
-
-    OSL_ENSURE( ! getLength(), "Length > 0 after AttributeList::Clear!");
-}
-
-void AttributeList::AppendAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList >  &r )
-{
-    OSL_ENSURE( r.is(), "r isn't!" );
-
-    sal_Int32 nMax = r->getLength();
-    sal_Int32 nTotalSize = m_pImpl->vecAttribute.size() + nMax;
-    m_pImpl->vecAttribute.reserve( nTotalSize );
-
-    for( sal_Int16 i = 0 ; i < nMax ; i ++ ) {
-        m_pImpl->vecAttribute.push_back( TagAttribute_Impl(
-            r->getNameByIndex( i ) ,
-            r->getTypeByIndex( i ) ,
-            r->getValueByIndex( i )));
-    }
-
-    OSL_ENSURE( nTotalSize == getLength(), "nTotalSize != getLength()");
-}
-
 } // namespace comphelper
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unusedcode.easy b/unusedcode.easy
index c08ba6f..05808d4 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -948,34 +948,14 @@ canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const
 canvas::tools::ElapsedTime::getTimeBase() const
 canvas::tools::calcRectToRectTransform(basegfx::B2DHomMatrix&, basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DHomMatrix const&)
 canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRange const&, basegfx::B2IRange const&)
-canvas::tools::verifyInput(com::sun::star::geometry::RealSize2D const&, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, short)
-canvas::tools::verifyInput(com::sun::star::rendering::FloatingPointBitmapLayout const&, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, short)
 cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)
 cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&)
-comphelper::AccessibleEventNotifier::getEventListeners(unsigned int)
-comphelper::AttributeList::AppendAttributeList(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&)
-comphelper::AttributeList::Clear()
-comphelper::EventLogger::addLogHandler(com::sun::star::uno::Reference<com::sun::star::logging::XLogHandler> const&)
-comphelper::EventLogger::getLogLevel() const
-comphelper::EventLogger::getName() const
-comphelper::EventLogger::removeLogHandler(com::sun::star::uno::Reference<com::sun::star::logging::XLogHandler> const&)
-comphelper::EventLogger::setLogLevel(int) const
 comphelper::FastPropertySetInfo::FastPropertySetInfo()
 comphelper::FastPropertySetInfo::addProperty(com::sun::star::beans::Property const&)
 comphelper::OAccessibleSelectionHelper::OAccessibleSelectionHelper()
 comphelper::OAccessibleTextHelper::OAccessibleTextHelper()
-comphelper::OContainerListenerAdapter::lock()
-comphelper::OContainerListenerAdapter::unlock()
-comphelper::OInteractionRequest::clearContinuations()
 comphelper::OPropertyContainerHelper::modifyAttributes(int, int, int)
 comphelper::OSelectionChangeListener::disposeAdapter()
-comphelper::OStreamSection::available()
-comphelper::OfficeResourceBundle::OfficeResourceBundle(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&)
-comphelper::PropertySetHelper::PropertySetHelper()
-comphelper::PropertySetHelper::setInfo(comphelper::PropertySetInfo*)
-comphelper::PropertySetInfo::add(comphelper::PropertyMapEntry*, int)
-comphelper::ResourceBasedEventLogger::ResourceBasedEventLogger(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&)
-comphelper::ServiceInfoHelper::concatSequences(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Sequence<rtl::OUString> const&)
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
commit 0333d2101acf36c9f44e5cc51ff6964d8a98920d
Author: Elton Chung <elton at layerjet.com>
Date:   Sat Feb 25 01:49:02 2012 +0800

    Remove unused code in basegfx, comphelper

diff --git a/basegfx/inc/basegfx/color/bcolortools.hxx b/basegfx/inc/basegfx/color/bcolortools.hxx
index 0bb0659..d5cdcf3 100644
--- a/basegfx/inc/basegfx/color/bcolortools.hxx
+++ b/basegfx/inc/basegfx/color/bcolortools.hxx
@@ -50,8 +50,6 @@ namespace basegfx
         /// Transform from HSV to RGB
         BASEGFX_DLLPUBLIC BColor hsv2rgb(const BColor& rHSVColor);
 
-        /// Transform from CIE XYZ into Rec. 709 RGB (D65 white point)
-        BASEGFX_DLLPUBLIC BColor ciexyz2rgb( const BColor& rXYZColor );
         /// Transform from Rec. 709 RGB (D65 white point) into CIE XYZ
         BASEGFX_DLLPUBLIC BColor rgb2ciexyz( const BColor& rRGBColor );
 
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx b/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
index 8997c54..1d5c0ff 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
@@ -49,10 +49,6 @@ namespace basegfx
         // Changed: Self intersections are searched by default, but may be switched off by 2nd parameter.
         BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rCandidate, bool bSelfIntersections = true);
 
-        // look for intersections of rCandidate with all polygons from rMask and add extra points there. Do
-        // not change or add points to rMask.
-        BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolygon& rCandidate);
-
         // look for intersections of rCandidate with the edge from rStart to rEnd and add extra points there.
         // Points are only added in the range of the edge, not on the endless vector.
         BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
@@ -61,10 +57,6 @@ namespace basegfx
         // The mask polygon is assumed to be closed, even when it's not explicitly.
         BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPolyPolygon& rMask);
 
-        // look for self-intersections in given polygon and add extra points there. Result will have no
-        // intersections on an edge
-        BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate);
-
     } // end of namespace tools
 } // end of namespace basegfx
 
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
index 86c31f3..3fdadbc 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
@@ -77,18 +77,6 @@ namespace basegfx
         BASEGFX_DLLPUBLIC bool isInside(const B2DPolygon& rCandidate, const B2DPoint& rPoint, bool bWithBorder = false);
         BASEGFX_DLLPUBLIC bool isInside(const B2DPolygon& rCandidate, const B2DPolygon& rPolygon, bool bWithBorder = false);
 
-        /** Get the range of a polygon including bezier control points
-
-            For detailed discussion, see B2DPolygon::getB2DRange()
-
-            @param rCandidate
-            The B2DPolygon eventually containing bezier segments
-
-            @return
-            The outer range of the bezier curve containing bezier control points
-        */
-        BASEGFX_DLLPUBLIC B2DRange getRangeWithControlPoints(const B2DPolygon& rCandidate);
-
         /** Get the range of a polygon
 
             This method creates the outer range of the subdivided bezier curve.
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx
index 007b416..7bf821c 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx
@@ -47,11 +47,6 @@ namespace basegfx
         // contained sub-polygons in a preparing step and to explicitly correct their orientations.
         BASEGFX_DLLPUBLIC B2DPolyPolygon solveCrossovers(const B2DPolyPolygon& rCandidate);
 
-        // Version for single polygons. This is for solving self-intersections. Result will be free of
-        // crossovers. When result contains multiple polygons, it may be necessary to rearrange their
-        // orientations since holes may have been created (use correctOrientations eventually).
-        BASEGFX_DLLPUBLIC B2DPolyPolygon solveCrossovers(const B2DPolygon& rCandidate);
-
         // Neutral polygons will be stripped. Neutral polygons are ones who's orientation is
         // neutral, so normally they have no volume -> just closed paths. A polygon with the same
         // positive and negative oriented volume is also neutral, so this may not be wanted. It is
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
index d36f804..54437ba 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
@@ -179,9 +179,6 @@ namespace basegfx
         // vectors on the 1/3 resp. 2/3 distances on each segment.
         BASEGFX_DLLPUBLIC B2DPolyPolygon expandToCurve(const B2DPolyPolygon& rCandidate);
 
-        // set continuity for the whole curve. If not a curve, nothing will change. Non-curve points are not changed, too.
-        BASEGFX_DLLPUBLIC B2DPolyPolygon setContinuity(const B2DPolyPolygon& rCandidate, B2VectorContinuity eContinuity);
-
         /** Predicate whether a given poly-polygon is a rectangle.
 
             @param rPoly
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx
index f34effe..03fd079 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx
@@ -62,9 +62,6 @@ namespace basegfx
         // version for Polygons
         BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolygonOnOrthogonalPlane(const B3DPolygon& rCandidate, B3DOrientation ePlaneOrthogonal, bool bClipPositive, double fPlaneOffset, bool bStroke);
 
-        // version for Polygons
-        BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolygonOnRange(const B3DPolygon& rCandidate, const B3DRange& rRange, bool bInside, bool bStroke);
-
         // versions for B2DRange, clips only against X,Y
         BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolygonOnRange(const B3DPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke);
 
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
index 95e00fb..9d66ca5 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
@@ -61,9 +61,6 @@ namespace basegfx
         // is none. Same for successor.
         BASEGFX_DLLPUBLIC sal_uInt32 getIndexOfSuccessor(sal_uInt32 nIndex, const B3DPolygon& rCandidate);
 
-        // Get orientation of Polygon
-        BASEGFX_DLLPUBLIC B2VectorOrientation getOrientation(const B3DPolygon& rCandidate);
-
         // get size of polygon. Control vectors are included in that ranges.
         BASEGFX_DLLPUBLIC B3DRange getRange(const B3DPolygon& rCandidate);
 
@@ -120,12 +117,6 @@ namespace basegfx
          */
         BASEGFX_DLLPUBLIC B3DPolygon applyDefaultTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX = true, bool bChangeY = true);
 
-        // test if point is inside epsilon-range around an edge defined
-        // by the two given points. Can be used for HitTesting. The epsilon-range
-        // is defined to be the cylinder centered to the given edge, using radius
-        // fDistance, and the sphere around both points with radius fDistance.
-        BASEGFX_DLLPUBLIC bool isInEpsilonRange(const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, const B3DPoint& rTestPosition, double fDistance);
-
         // isInside tests for B3DPoint. On border is not inside as long as not true is given in bWithBorder flag.
         BASEGFX_DLLPUBLIC bool isInside(const B3DPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder = false);
 
diff --git a/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
index 6ccfea1..327ef19 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
@@ -51,17 +51,6 @@ namespace basegfx
         // get size of PolyPolygon. Control vectors are included in that ranges.
         BASEGFX_DLLPUBLIC B3DRange getRange(const B3DPolyPolygon& rCandidate);
 
-        /** Apply given LineDashing to given polyPolygon
-
-            For a description see applyLineDashing in b2dpolygontoos.hxx
-        */
-        BASEGFX_DLLPUBLIC void applyLineDashing(
-            const B3DPolyPolygon& rCandidate,
-            const ::std::vector<double>& rDotDashArray,
-            B3DPolyPolygon* pLineTarget,
-            B3DPolyPolygon* pGapTarget = 0,
-            double fFullDashDotLen = 0.0);
-
         /** Create a unit 3D line polyPolygon which defines a cube.
          */
         BASEGFX_DLLPUBLIC B3DPolyPolygon createUnitCubePolyPolygon();
diff --git a/basegfx/inc/basegfx/range/b2ibox.hxx b/basegfx/inc/basegfx/range/b2ibox.hxx
index dd23b70..7c2f9ee 100644
--- a/basegfx/inc/basegfx/range/b2ibox.hxx
+++ b/basegfx/inc/basegfx/range/b2ibox.hxx
@@ -263,29 +263,6 @@ namespace basegfx
         BasicBox        maRangeY;
     };
 
-    /** Compute the set difference of the two given boxes
-
-        This method calculates the symmetric difference (aka XOR)
-        between the two given boxes, and returning the resulting
-        boxes. Thus, the result will contain all areas where one, but
-        not both boxes lie.
-
-        @param o_rResult
-        Result vector. The up to four difference boxes are returned
-        within this vector
-
-        @param rFirst
-        The first box
-
-        @param rSecond
-        The second box
-
-        @return the input vector
-     */
-     BASEGFX_DLLPUBLIC ::std::vector< B2IBox >& computeSetDifference( ::std::vector< B2IBox >& o_rResult,
-                                                                      const B2IBox&            rFirst,
-                                                                      const B2IBox&            rSecond );
-
 } // end of namespace basegfx
 
 #endif /* _BGFX_RANGE_B2IBOX_HXX */
diff --git a/basegfx/source/color/bcolortools.cxx b/basegfx/source/color/bcolortools.cxx
index f89a475..ef504eb 100644
--- a/basegfx/source/color/bcolortools.cxx
+++ b/basegfx/source/color/bcolortools.cxx
@@ -200,17 +200,6 @@ namespace basegfx { namespace tools
         }
     }
 
-    BColor ciexyz2rgb( const BColor& rXYZColor )
-    {
-        // from Poynton color faq, and SMPTE RP 177-1993, Derivation
-        // of Basic Television Color Equations
-        const double x=rXYZColor.getRed(), y=rXYZColor.getGreen(), z=rXYZColor.getBlue();
-        return BColor(
-            3.240479*x - 1.53715*y  - 0.498535*z,
-            -0.969256*x + 1.875991*y + 0.041556*z,
-            0.055648*x - 0.204043*y + 1.057311*z );
-    }
-
     BColor rgb2ciexyz( const BColor& rRGBColor )
     {
         // from Poynton color faq, and SMPTE RP 177-1993, Derivation
diff --git a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
index 385a5ac..73a01be 100644
--- a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
+++ b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
@@ -1008,31 +1008,6 @@ namespace basegfx
 
         ////////////////////////////////////////////////////////////////////////////////
 
-        B2DPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolygon& rCandidate)
-        {
-            if(rCandidate.count())
-            {
-                temporaryPointVector aTempPoints;
-                temporaryPointVector aTempPointsUnused;
-
-                for(sal_uInt32 a(0L); a < rMask.count(); a++)
-                {
-                    const B2DPolygon aPartMask(rMask.getB2DPolygon(a));
-
-                    findTouches(rCandidate, aPartMask, aTempPoints);
-                    findCuts(rCandidate, aPartMask, aTempPoints, aTempPointsUnused);
-                }
-
-                return mergeTemporaryPointsAndPolygon(rCandidate, aTempPoints);
-            }
-            else
-            {
-                return rCandidate;
-            }
-        }
-
-        ////////////////////////////////////////////////////////////////////////////////
-
         B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd)
         {
             const sal_uInt32 nCount(rCandidate.count());
@@ -1163,22 +1138,6 @@ namespace basegfx
             return rCandidate;
         }
 
-        B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate)
-        {
-            if(rCandidate.count())
-            {
-                temporaryPointVector aTempPoints;
-
-                findCuts(rCandidate, aTempPoints);
-
-                return mergeTemporaryPointsAndPolygon(rCandidate, aTempPoints);
-            }
-            else
-            {
-                return rCandidate;
-            }
-        }
-
         ////////////////////////////////////////////////////////////////////////////////
 
     } // end of namespace tools
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 73f920f..f86f0c6 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -476,30 +476,6 @@ namespace basegfx
             return true;
         }
 
-        B2DRange getRangeWithControlPoints(const B2DPolygon& rCandidate)
-        {
-            const sal_uInt32 nPointCount(rCandidate.count());
-            B2DRange aRetval;
-
-            if(nPointCount)
-            {
-                const bool bControlPointsUsed(rCandidate.areControlPointsUsed());
-
-                for(sal_uInt32 a(0); a < nPointCount; a++)
-                {
-                    aRetval.expand(rCandidate.getB2DPoint(a));
-
-                    if(bControlPointsUsed)
-                    {
-                        aRetval.expand(rCandidate.getNextControlPoint(a));
-                        aRetval.expand(rCandidate.getPrevControlPoint(a));
-                    }
-                }
-            }
-
-            return aRetval;
-        }
-
         B2DRange getRange(const B2DPolygon& rCandidate)
         {
             // changed to use internally buffered version at B2DPolygon
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 8675b01..522bc37 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -657,14 +657,6 @@ namespace basegfx
 
         //////////////////////////////////////////////////////////////////////////////
 
-        B2DPolyPolygon solveCrossovers(const B2DPolygon& rCandidate)
-        {
-            solver aSolver(rCandidate);
-            return aSolver.getB2DPolyPolygon();
-        }
-
-        //////////////////////////////////////////////////////////////////////////////
-
         B2DPolyPolygon stripNeutralPolygons(const B2DPolyPolygon& rCandidate)
         {
             B2DPolyPolygon aRetval;
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx
index 34721d2..6434dc0 100644
--- a/basegfx/source/polygon/b2dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolypolygontools.cxx
@@ -397,28 +397,6 @@ namespace basegfx
             return aRetval;
         }
 
-        B2DPolyPolygon setContinuity(const B2DPolyPolygon& rCandidate, B2VectorContinuity eContinuity)
-        {
-            if(rCandidate.areControlPointsUsed())
-            {
-                const sal_uInt32 nPolygonCount(rCandidate.count());
-                B2DPolyPolygon aRetval;
-
-                for(sal_uInt32 a(0L); a < nPolygonCount; a++)
-                {
-                    const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a));
-
-                    aRetval.append(setContinuity(aCandidate, eContinuity));
-                }
-
-                return aRetval;
-            }
-            else
-            {
-                return rCandidate;
-            }
-        }
-
         B2DPolyPolygon growInNormalDirection(const B2DPolyPolygon& rCandidate, double fValue)
         {
             if(0.0 != fValue)
diff --git a/basegfx/source/polygon/b3dpolygonclipper.cxx b/basegfx/source/polygon/b3dpolygonclipper.cxx
index d1c9043..6db49e2 100644
--- a/basegfx/source/polygon/b3dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b3dpolygonclipper.cxx
@@ -306,162 +306,6 @@ namespace basegfx
             return aRetval;
         }
 
-        B3DPolyPolygon clipPolygonOnRange(const B3DPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke)
-        {
-            B3DPolyPolygon aRetval;
-
-            if(rRange.isEmpty())
-            {
-                // clipping against an empty range. Nothing is inside an empty range, so the polygon
-                // is outside the range. So only return if not inside is wanted
-                if(!bInside && rCandidate.count())
-                {
-                    aRetval.append(rCandidate);
-                }
-            }
-            else if(rCandidate.count())
-            {
-                const B3DRange aCandidateRange3D(getRange(rCandidate));
-                const B2DRange aCandidateRange(
-                    aCandidateRange3D.getMinX(), aCandidateRange3D.getMinY(),
-                    aCandidateRange3D.getMaxX(), aCandidateRange3D.getMaxY());
-
-                if(rRange.isInside(aCandidateRange))
-                {
-                    // candidate is completely inside given range, nothing to do. Is also true with curves.
-                    if(bInside)
-                    {
-                        aRetval.append(rCandidate);
-                    }
-                }
-                else if(!rRange.overlaps(aCandidateRange))
-                {
-                    // candidate is completely outside given range, nothing to do. Is also true with curves.
-                    if(!bInside)
-                    {
-                        aRetval.append(rCandidate);
-                    }
-                }
-                else
-                {
-                    // clip against the six planes of the range
-                    // against lower X
-                    aRetval = clipPolygonOnOrthogonalPlane(rCandidate, tools::B3DORIENTATION_X, bInside, rRange.getMinX(), bStroke);
-
-                    if(aRetval.count())
-                    {
-                        // against lower Y
-                        if(1L == aRetval.count())
-                        {
-                            aRetval = clipPolygonOnOrthogonalPlane(aRetval.getB3DPolygon(0L), tools::B3DORIENTATION_Y, bInside, rRange.getMinY(), bStroke);
-                        }
-                        else
-                        {
-                            aRetval = clipPolyPolygonOnOrthogonalPlane(aRetval, tools::B3DORIENTATION_Y, bInside, rRange.getMinY(), bStroke);
-                        }
-
-                        if(aRetval.count())
-                        {
-                            // against higher X
-                            if(1L == aRetval.count())
-                            {
-                                aRetval = clipPolygonOnOrthogonalPlane(aRetval.getB3DPolygon(0L), tools::B3DORIENTATION_X, !bInside, rRange.getMaxX(), bStroke);
-                            }
-                            else
-                            {
-                                aRetval = clipPolyPolygonOnOrthogonalPlane(aRetval, tools::B3DORIENTATION_X, !bInside, rRange.getMaxX(), bStroke);
-                            }
-
-                            if(aRetval.count())
-                            {
-                                // against higher Y
-                                if(1L == aRetval.count())
-                                {
-                                    aRetval = clipPolygonOnOrthogonalPlane(aRetval.getB3DPolygon(0L), tools::B3DORIENTATION_Y, !bInside, rRange.getMaxY(), bStroke);
-                                }
-                                else
-                                {
-                                    aRetval = clipPolyPolygonOnOrthogonalPlane(aRetval, tools::B3DORIENTATION_Y, !bInside, rRange.getMaxY(), bStroke);
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-
-            return aRetval;
-        }
-
-        B3DPolyPolygon clipPolygonOnRange(const B3DPolygon& rCandidate, const B3DRange& rRange, bool bInside, bool bStroke)
-        {
-            B3DPolyPolygon aRetval;
-
-            if(rRange.isEmpty())
-            {
-                // clipping against an empty range. Nothing is inside an empty range, so the polygon
-                // is outside the range. So only return if not inside is wanted
-                if(!bInside && rCandidate.count())
-                {
-                    aRetval.append(rCandidate);
-                }
-            }
-            else if(rCandidate.count())
-            {
-                const B3DRange aCandidateRange(getRange(rCandidate));
-
-                if(rRange.isInside(aCandidateRange))
-                {
-                    // candidate is completely inside given range, nothing to do. Is also true with curves.
-                    if(bInside)
-                    {
-                        aRetval.append(rCandidate);
-                    }
-                }
-                else if(!rRange.overlaps(aCandidateRange))
-                {
-                    // candidate is completely outside given range, nothing to do. Is also true with curves.
-                    if(!bInside)
-                    {
-                        aRetval.append(rCandidate);
-                    }
-                }
-                else
-                {
-                    // clip against X,Y first and see if there's something left
-                    const B2DRange aCandidateRange2D(rRange.getMinX(), rRange.getMinY(), rRange.getMaxX(), rRange.getMaxY());
-                    aRetval = clipPolygonOnRange(rCandidate, aCandidateRange2D, bInside, bStroke);
-
-                    if(aRetval.count())
-                    {
-                        // against lower Z
-                        if(1L == aRetval.count())
-                        {
-                            aRetval = clipPolygonOnOrthogonalPlane(aRetval.getB3DPolygon(0L), tools::B3DORIENTATION_Z, bInside, rRange.getMinZ(), bStroke);
-                        }
-                        else
-                        {
-                            aRetval = clipPolyPolygonOnOrthogonalPlane(aRetval, tools::B3DORIENTATION_Z, bInside, rRange.getMinZ(), bStroke);
-                        }
-
-                        if(aRetval.count())
-                        {
-                            // against higher Z
-                            if(1L == aRetval.count())
-                            {
-                                aRetval = clipPolygonOnOrthogonalPlane(aRetval.getB3DPolygon(0L), tools::B3DORIENTATION_Z, !bInside, rRange.getMaxZ(), bStroke);
-                            }
-                            else
-                            {
-                                aRetval = clipPolyPolygonOnOrthogonalPlane(aRetval, tools::B3DORIENTATION_Z, !bInside, rRange.getMaxZ(), bStroke);
-                            }
-                        }
-                    }
-                }
-            }
-
-            return aRetval;
-        }
-
     } // end of namespace tools
 } // end of namespace basegfx
 
diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx
index 65a7f6b..306f97b 100644
--- a/basegfx/source/polygon/b3dpolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolygontools.cxx
@@ -88,27 +88,6 @@ namespace basegfx
             return rCandidate.getNormal();
         }
 
-        B2VectorOrientation getOrientation(const B3DPolygon& rCandidate)
-        {
-            B2VectorOrientation eRetval(ORIENTATION_NEUTRAL);
-
-            if(rCandidate.count() > 2L)
-            {
-                const double fSignedArea(getSignedArea(rCandidate));
-
-                if(fSignedArea > 0.0)
-                {
-                    eRetval = ORIENTATION_POSITIVE;
-                }
-                else if(fSignedArea < 0.0)
-                {
-                    eRetval = ORIENTATION_NEGATIVE;
-                }
-            }
-
-            return eRetval;
-        }
-
         double getSignedArea(const B3DPolygon& rCandidate)
         {
             double fRetval(0.0);
@@ -586,81 +565,6 @@ namespace basegfx
             return aRetval;
         }
 
-        bool isInEpsilonRange(const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, const B3DPoint& rTestPosition, double fDistance)
-        {
-            // build edge vector
-            const B3DVector aEdge(rEdgeEnd - rEdgeStart);
-            bool bDoDistanceTestStart(false);
-            bool bDoDistanceTestEnd(false);
-
-            if(aEdge.equalZero())
-            {
-                // no edge, just a point. Do one of the distance tests.
-                bDoDistanceTestStart = true;
-            }
-            else
-            {
-                // calculate fCut in aEdge
-                const B3DVector aTestEdge(rTestPosition - rEdgeStart);
-                const double fScalarTestEdge(aEdge.scalar(aTestEdge));
-                const double fScalarStartEdge(aEdge.scalar(rEdgeStart));
-                const double fScalarEdge(aEdge.scalar(aEdge));
-                const double fCut((fScalarTestEdge - fScalarStartEdge) / fScalarEdge);
-                const double fZero(0.0);
-                const double fOne(1.0);
-
-                if(fTools::less(fCut, fZero))
-                {
-                    // left of rEdgeStart
-                    bDoDistanceTestStart = true;
-                }
-                else if(fTools::more(fCut, fOne))
-                {
-                    // right of rEdgeEnd
-                    bDoDistanceTestEnd = true;
-                }
-                else
-                {
-                    // inside line [0.0 .. 1.0]
-                    const B3DPoint aCutPoint(interpolate(rEdgeStart, rEdgeEnd, fCut));
-                    const B3DVector aDelta(rTestPosition - aCutPoint);
-                    const double fDistanceSquare(aDelta.scalar(aDelta));
-
-                    if(fDistanceSquare <= fDistance * fDistance * fDistance)
-                    {
-                        return true;
-                    }
-                    else
-                    {
-                        return false;
-                    }
-                }
-            }
-
-            if(bDoDistanceTestStart)
-            {
-                const B3DVector aDelta(rTestPosition - rEdgeStart);
-                const double fDistanceSquare(aDelta.scalar(aDelta));
-
-                if(fDistanceSquare <= fDistance * fDistance * fDistance)
-                {
-                    return true;
-                }
-            }
-            else if(bDoDistanceTestEnd)
-            {
-                const B3DVector aDelta(rTestPosition - rEdgeEnd);
-                const double fDistanceSquare(aDelta.scalar(aDelta));
-
-                if(fDistanceSquare <= fDistance * fDistance * fDistance)
-                {
-                    return true;
-                }
-            }
-
-            return false;
-        }
-
         bool isInside(const B3DPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder)
         {
             if(bWithBorder && isPointOnPolygon(rCandidate, rPoint, true))
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx
index 928fb31..b229eae 100644
--- a/basegfx/source/polygon/b3dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolypolygontools.cxx
@@ -57,42 +57,6 @@ namespace basegfx
             return aRetval;
         }
 
-        void applyLineDashing(const B3DPolyPolygon& rCandidate, const ::std::vector<double>& rDotDashArray, B3DPolyPolygon* pLineTarget, B3DPolyPolygon* pGapTarget, double fFullDashDotLen)
-        {
-            if(0.0 == fFullDashDotLen && rDotDashArray.size())
-            {
-                // calculate fFullDashDotLen from rDotDashArray
-                fFullDashDotLen = ::std::accumulate(rDotDashArray.begin(), rDotDashArray.end(), 0.0);
-            }
-
-            if(rCandidate.count() && fFullDashDotLen > 0.0)
-            {
-                B3DPolyPolygon aLineTarget, aGapTarget;
-
-                for(sal_uInt32 a(0L); a < rCandidate.count(); a++)
-                {
-                    const B3DPolygon aCandidate(rCandidate.getB3DPolygon(a));
-
-                    applyLineDashing(
-                        aCandidate,
-                        rDotDashArray,
-                        pLineTarget ? &aLineTarget : 0,
-                        pGapTarget ? &aGapTarget : 0,
-                        fFullDashDotLen);
-
-                    if(pLineTarget)
-                    {
-                        pLineTarget->append(aLineTarget);
-                    }
-
-                    if(pGapTarget)
-                    {
-                        pGapTarget->append(aGapTarget);
-                    }
-                }
-            }
-        }
-
         B3DPolyPolygon createUnitCubePolyPolygon()
         {
             static B3DPolyPolygon aRetval;
diff --git a/basegfx/source/range/b2xrange.cxx b/basegfx/source/range/b2xrange.cxx
index 9c6b425..8b8f811 100644
--- a/basegfx/source/range/b2xrange.cxx
+++ b/basegfx/source/range/b2xrange.cxx
@@ -126,15 +126,6 @@ namespace basegfx
         return o_rResult;
     }
 
-    ::std::vector< B2IBox >& computeSetDifference( ::std::vector< B2IBox >& o_rResult,
-                                                   const B2IBox&            rFirst,
-                                                   const B2IBox&            rSecond )
-    {
-        doComputeSetDifference( o_rResult, rFirst, rSecond );
-
-        return o_rResult;
-    }
-
 } // end of namespace basegfx
 
 // eof
diff --git a/comphelper/inc/comphelper/accimplaccess.hxx b/comphelper/inc/comphelper/accimplaccess.hxx
index fbbee6f..6f295eb 100644
--- a/comphelper/inc/comphelper/accimplaccess.hxx
+++ b/comphelper/inc/comphelper/accimplaccess.hxx
@@ -134,24 +134,6 @@ namespace comphelper
             const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxNewParent
         );
 
-        /** sets or resets a state bit in the set of foreign-controlled states of the component.
-
-        @param _rxComponent
-            is the component which's state is to be (re)set
-        @param _nState
-            the state bit which should be affected. This should be one of the respective UNO constants.
-        @param _bSet
-            <TRUE/> if the bit should be set, <FALSE/> otherwise
-        @return
-            <TRUE/> in case of success, <FALSE/> otherwise. For error condition please look at
-            <method>getImplementation</method>.
-        */
-        static sal_Bool setForeignControlledState(
-            const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >& _rxComponent,
-            const sal_Int16 _nState,
-            const sal_Bool  _bSet
-        );
-
 
     private:
         COMPHELPER_DLLPRIVATE static const ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
diff --git a/comphelper/inc/comphelper/mimeconfighelper.hxx b/comphelper/inc/comphelper/mimeconfighelper.hxx
index c8eeed1..4ca3ae7 100644
--- a/comphelper/inc/comphelper/mimeconfighelper.hxx
+++ b/comphelper/inc/comphelper/mimeconfighelper.hxx
@@ -120,8 +120,6 @@ public:
     ::rtl::OUString UpdateMediaDescriptorWithFilterName(
                         ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr,
                         ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObject );
-    sal_Bool AddFilterNameCheckOwnFile(
-                        ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr );
 
     ::rtl::OUString GetDefaultFilterFromServiceName( const ::rtl::OUString& aServName, sal_Int32 nVersion );
 
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index f7a0da3..18fac98 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -107,18 +107,6 @@ namespace comphelper
             m_pImpl->m_nForeignControlledStates &= ~nBitMask;
     }
 
-    //---------------------------------------------------------------------
-    sal_Bool OAccessibleImplementationAccess::setForeignControlledState( const Reference< XAccessibleContext >& _rxComponent, const sal_Int16 _nState,
-        const sal_Bool  _bSet )
-    {
-        OAccessibleImplementationAccess* pImplementation = getImplementation( _rxComponent );
-
-        if ( pImplementation )
-            pImplementation->setStateBit( _nState, _bSet );
-
-        return ( NULL != pImplementation );
-    }
-
     namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; }
 
     //---------------------------------------------------------------------
diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx
index 4416415..168c279 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -705,22 +705,6 @@ uno::Sequence< beans::NamedValue > MimeConfigurationHelper::GetObjectPropsByDocu
     return UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_True );
 }
 
-sal_Bool MimeConfigurationHelper::AddFilterNameCheckOwnFile(
-                        uno::Sequence< beans::PropertyValue >& aMediaDescr )
-{
-    sal_Bool bResult = sal_False;
-
-    ::rtl::OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_False );
-    if ( !aFilterName.isEmpty() )
-    {
-        sal_Int32 nFlags = GetFilterFlags( aFilterName );
-        // check the OWN flag
-        bResult = ( nFlags & SFX_FILTER_OWN );
-    }
-
-    return bResult;
-}
-
 //-----------------------------------------------------------
 ::rtl::OUString MimeConfigurationHelper::GetDefaultFilterFromServiceName( const ::rtl::OUString& aServiceName, sal_Int32 nVersion )
 {
diff --git a/unusedcode.easy b/unusedcode.easy
index e845b81..c08ba6f 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -570,18 +570,6 @@ _ZSortFlys_SAR::Replace(_ZSortFly const*, unsigned short, unsigned short)
 _ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_ZSortFly const&, void*), void*)
 basebmp::BitmapDevice::setDamageTracker(boost::shared_ptr<basebmp::IBitmapDeviceDamageTracker> const&)
 basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&)
-basegfx::computeSetDifference(std::__debug::vector<basegfx::B2IBox, std::allocator<basegfx::B2IBox> >&, basegfx::B2IBox const&, basegfx::B2IBox const&)
-basegfx::fround(basegfx::B2DRange const&)
-basegfx::tools::addPointsAtCuts(basegfx::B2DPolygon const&)
-basegfx::tools::addPointsAtCutsAndTouches(basegfx::B2DPolyPolygon const&, basegfx::B2DPolygon const&)
-basegfx::tools::applyLineDashing(basegfx::B3DPolyPolygon const&, std::__debug::vector<double, std::allocator<double> > const&, basegfx::B3DPolyPolygon*, basegfx::B3DPolyPolygon*, double)
-basegfx::tools::ciexyz2rgb(basegfx::BColor const&)
-basegfx::tools::clipPolygonOnRange(basegfx::B3DPolygon const&, basegfx::B3DRange const&, bool, bool)
-basegfx::tools::getOrientation(basegfx::B3DPolygon const&)
-basegfx::tools::getRangeWithControlPoints(basegfx::B2DPolygon const&)
-basegfx::tools::isInEpsilonRange(basegfx::B3DPoint const&, basegfx::B3DPoint const&, basegfx::B3DPoint const&, double)
-basegfx::tools::setContinuity(basegfx::B2DPolyPolygon const&, basegfx::B2VectorContinuity)
-basegfx::tools::solveCrossovers(basegfx::B2DPolygon const&)
 basic::ScriptExtensionIterator::implGetScriptPackageFromPackage(com::sun::star::uno::Reference<com::sun::star::deployment::XPackage>, bool&)
 basic::vba::getCurrentDirectory(com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&)
 binfilter::B3dEdgeEntryBucketMemArr::Insert(binfilter::B3dEdgeEntryBucketMemArr const*, unsigned short, unsigned short, unsigned short)
@@ -974,8 +962,6 @@ comphelper::EventLogger::removeLogHandler(com::sun::star::uno::Reference<com::su
 comphelper::EventLogger::setLogLevel(int) const
 comphelper::FastPropertySetInfo::FastPropertySetInfo()
 comphelper::FastPropertySetInfo::addProperty(com::sun::star::beans::Property const&)
-comphelper::MimeConfigurationHelper::AddFilterNameCheckOwnFile(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&)
-comphelper::OAccessibleImplementationAccess::setForeignControlledState(com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleContext> const&, short, unsigned char)
 comphelper::OAccessibleSelectionHelper::OAccessibleSelectionHelper()
 comphelper::OAccessibleTextHelper::OAccessibleTextHelper()
 comphelper::OContainerListenerAdapter::lock()


More information about the Libreoffice-commits mailing list