[Libreoffice-commits] .: sdext/source svtools/source svx/inc svx/source unusedcode.easy vcl/inc vcl/source

Julien Nabet serval2412 at kemper.freedesktop.org
Fri Sep 9 22:55:27 PDT 2011


 sdext/source/presenter/PresenterTimer.cxx           |   10 ----------
 sdext/source/presenter/PresenterTimer.hxx           |    4 ----
 svtools/source/edit/svmedit.cxx                     |    8 --------
 svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx |    1 -
 svx/source/sdr/overlay/overlayanimatedbitmapex.cxx  |   15 ---------------
 unusedcode.easy                                     |    5 -----
 vcl/inc/helpwin.hxx                                 |    3 ---
 vcl/source/app/help.cxx                             |   12 ------------
 8 files changed, 58 deletions(-)

New commits:
commit da25c271cec8721d2ae5907da1de9fdcf7e2eb4c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Sep 10 07:54:34 2011 +0200

    Drop unused parts

diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index f4a5618..7451794 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -137,16 +137,6 @@ bool GetDateTime (oslDateTime& rDateTime);
 
 //===== PresenterTimer ========================================================
 
-sal_Int32 PresenterTimer::ScheduleSingleTaskRelative (
-    const Task& rTask,
-    const sal_Int64 nDelay)
-{
-    return ScheduleRepeatedTask(rTask, nDelay, 0);
-}
-
-
-
-
 sal_Int32 PresenterTimer::ScheduleSingleTaskAbsolute (
     const Task& rTask,
     const TimeValue& rDueTime)
diff --git a/sdext/source/presenter/PresenterTimer.hxx b/sdext/source/presenter/PresenterTimer.hxx
index 19d9e06..89232e6 100644
--- a/sdext/source/presenter/PresenterTimer.hxx
+++ b/sdext/source/presenter/PresenterTimer.hxx
@@ -59,10 +59,6 @@ public:
 
     static const sal_Int32 NotAValidTaskId = 0;
 
-    static sal_Int32 ScheduleSingleTaskRelative (
-        const Task& rTask,
-        const sal_Int64 nDelay);
-
     static sal_Int32 ScheduleSingleTaskAbsolute (
         const Task& rTask,
         const TimeValue& rDueTime);
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 6c720ac..476a452 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -179,8 +179,6 @@ public:
     TextWindow* GetTextWindow() { return mpTextWindow; }
     ScrollBar*  GetHScrollBar() { return mpHScrollBar; }
     ScrollBar*  GetVScrollBar() { return mpVScrollBar; }
-
-    void        SetTextWindowOffset( const Point& rOffset );
 };
 
 ImpSvMEdit::ImpSvMEdit( MultiLineEdit* pEdt, WinBits nWinStyle )
@@ -390,12 +388,6 @@ void ImpSvMEdit::SetAlign( WinBits nWinStyle )
         mpTextWindow->GetTextEngine()->SetTextAlign( !bRTL ? TXTALIGN_LEFT : TXTALIGN_RIGHT );
 }
 
-void ImpSvMEdit::SetTextWindowOffset( const Point& rOffset )
-{
-    maTextWindowOffset = rOffset;
-    Resize();
-}
-
 void ImpSvMEdit::SetModified( sal_Bool bMod )
 {
     mpTextWindow->GetTextEngine()->SetModified( bMod );
diff --git a/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx b/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
index 6a83910..9c49d70 100644
--- a/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
@@ -90,7 +90,6 @@ namespace sdr
 
             // #i53216# added CursorBlinkTime (in ms)
             sal_uInt32 getBlinkTime() const { return mnBlinkTime; }
-            void setBlinkTime(sal_uInt32 nNew);
 
             // execute event from base class ::sdr::animation::Event. Default
             // implementation does nothing and does not create a new event.
diff --git a/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx b/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx
index 50afccc..0b285d9 100644
--- a/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx
+++ b/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx
@@ -172,21 +172,6 @@ namespace sdr
             }
         }
 
-        void OverlayAnimatedBitmapEx::setBlinkTime(sal_uInt32 nNew)
-        {
-            if(mnBlinkTime != nNew)
-            {
-                // remember new value
-                mnBlinkTime = nNew;
-
-                // #i53216# check blink time value range
-                impCheckBlinkTimeValueRange();
-
-                // register change (after change)
-                objectChange();
-            }
-        }
-
         void OverlayAnimatedBitmapEx::Trigger(sal_uInt32 nTime)
         {
             if(getOverlayManager())
diff --git a/unusedcode.easy b/unusedcode.easy
index aa52f6a..e44c427 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -218,8 +218,6 @@ HeaderBar::InsertItem(unsigned short, Image const&, String const&, long, unsigne
 HeaderBar::InsertItem(unsigned short, Image const&, long, unsigned short, unsigned short)
 HeaderBar::SetHelpId(unsigned short, rtl::OString const&)
 HeaderBar::SetHelpText(unsigned short, String const&)
-HelpTextWindow::RegisterAccessibleParent()
-HelpTextWindow::RevokeAccessibleParent()
 IconChoiceDialog::RemoveResetButton()
 IconChoiceDialog::RemoveTabPage(unsigned short)
 ImageAryData::ImageAryData()
@@ -235,7 +233,6 @@ ImpDefaultMapper::ImpDefaultMapper(com::sun::star::uno::Reference<com::sun::star
 ImpEditEngine::Repeat(EditView*)
 ImpEditView::CalcSelectedRegion()
 ImpSvMEdit::SetInsertMode(unsigned char)
-ImpSvMEdit::SetTextWindowOffset(Point const&)
 ImpSvlData::~ImpSvlData()
 ImpSvtData::~ImpSvtData()
 ImplBorderWindow::ImplBorderWindow(Window*, long, unsigned short, com::sun::star::uno::Any const&)
@@ -2926,7 +2923,6 @@ sdext::presenter::PresenterTextView::GetCharacterOffset(int) const
 sdext::presenter::PresenterTheme::FontDescriptor::FontDescriptor()
 sdext::presenter::PresenterTheme::GetThemeName() const
 sdext::presenter::PresenterTheme::disposing()
-sdext::presenter::PresenterTimer::ScheduleSingleTaskRelative(boost::function<void (TimeValue const&)> const&, long)
 sdext::presenter::PresenterToolBar::GetSize()
 sdext::presenter::PresenterToolBar::GetWindow() const
 sdext::presenter::PresenterToolBarView::ThrowIfDisposed() const
@@ -2947,7 +2943,6 @@ sdr::contact::ViewContactOfPageObj::GetReferencedPage() const
 sdr::contact::ViewObjectContactOfUnoControl::isControlVisible() const
 sdr::overlay::OverlayAnimatedBitmapEx::setBitmapEx1(BitmapEx const&)
 sdr::overlay::OverlayAnimatedBitmapEx::setBitmapEx2(BitmapEx const&)
-sdr::overlay::OverlayAnimatedBitmapEx::setBlinkTime(unsigned int)
 sdr::overlay::OverlayAnimatedBitmapEx::setCenterXY1(unsigned short, unsigned short)
 sdr::overlay::OverlayAnimatedBitmapEx::setCenterXY2(unsigned short, unsigned short)
 sdr::overlay::OverlayBitmapEx::setBitmapEx(BitmapEx const&)
diff --git a/vcl/inc/helpwin.hxx b/vcl/inc/helpwin.hxx
index 7862a49..0c1368b 100644
--- a/vcl/inc/helpwin.hxx
+++ b/vcl/inc/helpwin.hxx
@@ -79,9 +79,6 @@ public:
     const Rectangle&    GetHelpArea() const { return maHelpArea; }
 
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
-
-    sal_Bool                RegisterAccessibleParent();
-    void                RevokeAccessibleParent();
 };
 
 void ImplShowHelpWindow( Window* pParent, sal_uInt16 nHelpWinStyle, sal_uInt16 nStyle,
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 3db6bcc..19b7808 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -539,18 +539,6 @@ String HelpTextWindow::GetText() const
     return FloatingWindow::CreateAccessible();
 }
 
-// -----------------------------------------------------------------------
-
-sal_Bool HelpTextWindow::RegisterAccessibleParent()
-{
-        return sal_False;
-}
-
-// -----------------------------------------------------------------------
-
-void HelpTextWindow::RevokeAccessibleParent()
-{
-}
 
 // =======================================================================
 


More information about the Libreoffice-commits mailing list