[Libreoffice-commits] .: 3 commits - sc/source sd/source sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 30 17:04:06 PST 2013
sc/source/ui/inc/fuconstr.hxx | 4 ----
sd/source/ui/inc/fuconstr.hxx | 2 --
sw/source/ui/inc/drawbase.hxx | 2 --
sw/source/ui/inc/drwbassh.hxx | 2 --
sw/source/ui/inc/drwtxtsh.hxx | 3 ---
sw/source/ui/ribbar/drawbase.cxx | 2 --
6 files changed, 15 deletions(-)
New commits:
commit 56bb7744f4a4612ffe75e56d51ba95c559435663
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Jan 31 09:05:16 2013 +0900
Drop unused member variables
Change-Id: Ied80983dc64f1e4e7ad34ebd9cc034054a17b6cc
diff --git a/sw/source/ui/inc/drwbassh.hxx b/sw/source/ui/inc/drwbassh.hxx
index b203f2d..5cd5b42 100644
--- a/sw/source/ui/inc/drwbassh.hxx
+++ b/sw/source/ui/inc/drwbassh.hxx
@@ -31,8 +31,6 @@ class SwDrawBaseShell: public SwBaseShell
SwDrawBase* pDrawActual;
sal_uInt16 eDrawMode;
- sal_Bool bRotate : 1;
- sal_Bool bSelMove: 1;
DECL_LINK( CheckGroupShapeNameHdl, AbstractSvxNameDialog* );
DECL_LINK(ValidatePosition, SvxSwFrameValidation* );
diff --git a/sw/source/ui/inc/drwtxtsh.hxx b/sw/source/ui/inc/drwtxtsh.hxx
index 179b2fe..e7d687b 100644
--- a/sw/source/ui/inc/drwtxtsh.hxx
+++ b/sw/source/ui/inc/drwtxtsh.hxx
@@ -34,9 +34,6 @@ class SwDrawTextShell: public SfxShell
SdrView *pSdrView;
- sal_Bool bRotate : 1;
- sal_Bool bSelMove: 1;
-
void SetAttrToMarked(const SfxItemSet& rAttr);
void InsertSymbol(SfxRequest& rReq);
sal_Bool IsTextEdit();
commit 270acb88ce12a0a4843ab9ebce194d0a07e2075a
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Jan 31 09:03:34 2013 +0900
Drop unused #define
Change-Id: I2831c6a9c738d3ccacb1e7856675f409948723c9
diff --git a/sw/source/ui/ribbar/drawbase.cxx b/sw/source/ui/ribbar/drawbase.cxx
index 78fe5d5..a3193e3 100644
--- a/sw/source/ui/ribbar/drawbase.cxx
+++ b/sw/source/ui/ribbar/drawbase.cxx
@@ -42,8 +42,6 @@ using namespace ::com::sun::star;
extern bool bNoInterrupt; // in mainwn.cxx
-#define MINMOVE ((sal_uInt16)m_pSh->GetOut()->PixelToLogic(Size(m_pSh->GetDrawView()->GetMarkHdlSizePixel()/2,0)).Width())
-
/*************************************************************************
|*
commit 3a4575115b9cd26c15692501be59dc362ef0481e
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Wed Jan 30 23:32:17 2013 +0900
MIN_FREEHAND_DISTANCE is used nowhere
Change-Id: I3111c8fd60089302d7eee51df0ac81ae1a6f5eab
diff --git a/sc/source/ui/inc/fuconstr.hxx b/sc/source/ui/inc/fuconstr.hxx
index c50feba..ab24e89 100644
--- a/sc/source/ui/inc/fuconstr.hxx
+++ b/sc/source/ui/inc/fuconstr.hxx
@@ -23,10 +23,6 @@
#include "fudraw.hxx"
-/************************************************************************/
-
-#define MIN_FREEHAND_DISTANCE 10
-
/** Draw rectangle */
class FuConstruct : public FuDraw
{
diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx
index 20a0bde..8af7262 100644
--- a/sd/source/ui/inc/fuconstr.hxx
+++ b/sd/source/ui/inc/fuconstr.hxx
@@ -38,8 +38,6 @@ class FuConstruct
: public FuDraw
{
public:
- static const int MIN_FREEHAND_DISTANCE = 10;
-
TYPEINFO();
virtual void DoExecute( SfxRequest& rReq );
diff --git a/sw/source/ui/inc/drawbase.hxx b/sw/source/ui/inc/drawbase.hxx
index 739ddd4..15392f6 100644
--- a/sw/source/ui/inc/drawbase.hxx
+++ b/sw/source/ui/inc/drawbase.hxx
@@ -27,8 +27,6 @@ class SwEditWin;
class KeyEvent;
class MouseEvent;
-#define MIN_FREEHAND_DISTANCE 10
-
/*************************************************************************
|*
|* base class for all functions
More information about the Libreoffice-commits
mailing list