[Libreoffice-commits] core.git: editeng/source include/editeng

Ivan Timofeev timofeev.i.s at gmail.com
Sun Sep 22 09:03:33 PDT 2013


 editeng/source/outliner/outlvw.cxx |    7 -------
 include/editeng/outliner.hxx       |   25 -------------------------
 2 files changed, 32 deletions(-)

New commits:
commit 6536270e14c1017313d1bd1508d54392c0626696
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Sun Sep 22 20:00:39 2013 +0400

    remove unused members from OutlinerView
    
    Change-Id: Iac32c42afef80e01af70479e5b2f9de4e1dfab26

diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 829087d..036b464 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -54,11 +54,6 @@ OutlinerView::OutlinerView( Outliner* pOut, Window* pWin )
     DBG_CTOR( OutlinerView, 0 );
 
     pOwner                      = pOut;
-    bDDCursorVisible            = sal_False;
-    bInDragMode                 = sal_False;
-    nDDScrollLRBorderWidthWin   = 0;
-    nDDScrollTBBorderWidthWin   = 0;
-    pHorTabArrDoc               = 0;
 
     pEditView = new EditView( pOut->pEditEngine, pWin );
     pEditView->SetSelectionMode( EE_SELMODE_TXTONLY );
@@ -348,8 +343,6 @@ sal_Bool OutlinerView::MouseButtonDown( const MouseEvent& rMEvt )
         else if( rMEvt.GetClicks() == 2 && bHasChildren )
             ImpToggleExpand( pPara );
 
-        aDDStartPosPix = rMEvt.GetPosPixel();
-        aDDStartPosRef=pEditView->GetWindow()->PixelToLogic( aDDStartPosPix,pOwner->GetRefMapMode());
         return sal_True;
     }
 
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 484f08c..3b3f18b 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -186,28 +186,6 @@ private:
     Outliner*   pOwner;
     EditView*   pEditView;
 
-    // Drag & Drop
-    sal_Bool        bBeginDragAtMove_OLDMEMBER;
-    sal_Bool        bInDragMode;
-    Point       aDDStartPosRef;
-    Point       aDDStartPosPix;
-    sal_Int32       nDDStartPara;
-    sal_Int32       nDDStartParaVisChildCount;
-    sal_Int32       nDDCurPara;
-    sal_uInt16      nDDStartDepth;
-    sal_uInt16      nDDCurDepth;
-    sal_uInt16      nDDMaxDepth;
-    sal_Bool        bDDChangingDepth;
-    sal_Bool        bDDCursorVisible;
-    long*       pHorTabArrDoc;
-    long        nDDScrollLRBorderWidthWin;  // Left Right
-    long        nDDScrollTBBorderWidthWin;  // Top Bottom
-    long        nDDScrollLROffs;
-    long        nDDScrollTDOffs;
-
-    void*       pDummy;
-    sal_uLong       nDummy;
-
     enum MouseTarget {
         MouseText = 0,
         MouseBullet = 1,
@@ -215,7 +193,6 @@ private:
         MouseOutside = 3,    // Outside OutputArea
         MouseDontKnow = 4
     };
-    MouseTarget OLD_ePrevMouseTarget;
 
     EDITENG_DLLPRIVATE void         ImplExpandOrCollaps( sal_Int32 nStartPara, sal_Int32 nEndPara, sal_Bool bExpand );
 
@@ -223,11 +200,9 @@ private:
     EDITENG_DLLPRIVATE void         ImpToggleExpand( Paragraph* pParentPara );
     EDITENG_DLLPRIVATE ParaRange    ImpGetSelectedParagraphs( sal_Bool bIncludeHiddenChildren );
 
-    EDITENG_DLLPRIVATE Pointer      ImpGetMousePointer( MouseTarget eTarget );
     EDITENG_DLLPRIVATE sal_Int32    ImpInitPaste( sal_Int32& rStart );
     EDITENG_DLLPRIVATE void         ImpPasted( sal_Int32 nStart, sal_Int32 nPrevParaCount, sal_Int32 nSize);
     EDITENG_DLLPRIVATE sal_Int32    ImpCalcSelectedPages( sal_Bool bIncludeFirstSelected );
-    EDITENG_DLLPRIVATE sal_Bool        ImpIsIndentingPages();
 
 public:
                 OutlinerView( Outliner* pOut, Window* pWindow );


More information about the Libreoffice-commits mailing list