[Libreoffice-commits] .: avmedia/source unusedcode.easy

Michael Meeks michael at kemper.freedesktop.org
Sat Feb 18 01:59:23 PST 2012


 avmedia/source/viewer/mediawindowbase_impl.cxx |   23 -----------------------
 avmedia/source/viewer/mediawindowbase_impl.hxx |    4 ----
 unusedcode.easy                                |    3 ---
 3 files changed, 30 deletions(-)

New commits:
commit 717468346c8b00aa44a34c534972679008802efd
Author: elbarto <aliaselbarto at gmail.com>
Date:   Sat Feb 18 01:35:37 2012 +0100

    Removed unused code from avmedia.

diff --git a/avmedia/source/viewer/mediawindowbase_impl.cxx b/avmedia/source/viewer/mediawindowbase_impl.cxx
index 370eb98..b60a835 100644
--- a/avmedia/source/viewer/mediawindowbase_impl.cxx
+++ b/avmedia/source/viewer/mediawindowbase_impl.cxx
@@ -299,29 +299,6 @@ double MediaWindowBaseImpl::getMediaTime() const
 
 // ---------------------------------------------------------------------
 
-void MediaWindowBaseImpl::setStopTime( double fTime )
-{
-    if( mxPlayer.is() )
-        mxPlayer->setStopTime( fTime );
-}
-
-// ---------------------------------------------------------------------
-
-double MediaWindowBaseImpl::getStopTime() const
-{
-    return( mxPlayer.is() ? mxPlayer->getStopTime() : 0.0 );
-}
-
-// ---------------------------------------------------------------------
-
-void MediaWindowBaseImpl::setRate( double fRate )
-{
-    if( mxPlayer.is() )
-        mxPlayer->setRate( fRate );
-}
-
-// ---------------------------------------------------------------------
-
 double MediaWindowBaseImpl::getRate() const
 {
     return( mxPlayer.is() ? mxPlayer->getRate() : 0.0 );
diff --git a/avmedia/source/viewer/mediawindowbase_impl.hxx b/avmedia/source/viewer/mediawindowbase_impl.hxx
index d8244d9..afd68e4 100644
--- a/avmedia/source/viewer/mediawindowbase_impl.hxx
+++ b/avmedia/source/viewer/mediawindowbase_impl.hxx
@@ -88,10 +88,6 @@ namespace avmedia
             void    setMediaTime( double fTime );
             double  getMediaTime() const;
 
-            void    setStopTime( double fTime );
-            double  getStopTime() const;
-
-            void    setRate( double fRate );
             double  getRate() const;
 
             void    setPlaybackLoop( bool bSet );
diff --git a/unusedcode.easy b/unusedcode.easy
index dcd6b42..0d0bb79 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -630,9 +630,6 @@ _ZSortFlys::Remove(_ZSortFly const&, unsigned short)
 _ZSortFlys_SAR::Replace(_ZSortFly const&, unsigned short)
 _ZSortFlys_SAR::Replace(_ZSortFly const*, unsigned short, unsigned short)
 _ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_ZSortFly const&, void*), void*)
-avmedia::priv::MediaWindowBaseImpl::getStopTime() const
-avmedia::priv::MediaWindowBaseImpl::setRate(double)
-avmedia::priv::MediaWindowBaseImpl::setStopTime(double)
 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&)


More information about the Libreoffice-commits mailing list