summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-29 09:09:05 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-30 07:01:41 +0000
commitfbd23182ee1804fd87a13d79a71e231549767408 (patch)
treeba2e1c8af7bcfc71908ae6a1858315e6547b3c73 /include
parentf160d8c879b7184b2a41f2310a09c0432c14379a (diff)
loplugin:unusedfields
Change-Id: If06fffa8db050df0f9c1c7da6163575bf522382e Reviewed-on: https://gerrit.libreoffice.org/26754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/numitem.hxx10
-rw-r--r--include/svx/svdcrtv.hxx1
-rw-r--r--include/svx/svdoashp.hxx1
3 files changed, 4 insertions, 8 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 2d67dd1b27e4..13ffac063128 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -315,11 +315,10 @@ public:
class SvxNodeNum
{
sal_uInt16 nLevelVal[ SVX_MAX_NUM ]; // Numbers of all levels
- sal_uInt16 nSetValue; // predetermined number
- sal_uInt8 nMyLevel; // Current Level
+ sal_uInt8 nMyLevel; // Current Level
public:
- explicit inline SvxNodeNum( sal_uInt16 nSetVal = USHRT_MAX );
+ explicit inline SvxNodeNum();
inline SvxNodeNum& operator=( const SvxNodeNum& rCpy );
sal_uInt8 GetLevel() const { return nMyLevel; }
@@ -329,8 +328,8 @@ public:
sal_uInt16* GetLevelVal() { return nLevelVal; }
};
-SvxNodeNum::SvxNodeNum( sal_uInt16 nSetVal )
- : nSetValue( nSetVal ), nMyLevel( 0 )
+SvxNodeNum::SvxNodeNum()
+ : nMyLevel( 0 )
{
memset( nLevelVal, 0, sizeof( nLevelVal ) );
}
@@ -339,7 +338,6 @@ inline SvxNodeNum& SvxNodeNum::operator=( const SvxNodeNum& rCpy )
{
if ( &rCpy != this)
{
- nSetValue = rCpy.nSetValue;
nMyLevel = rCpy.nMyLevel;
memcpy( nLevelVal, rCpy.nLevelVal, sizeof( nLevelVal ) );
diff --git a/include/svx/svdcrtv.hxx b/include/svx/svdcrtv.hxx
index 83fc4070220c..33fa675cf111 100644
--- a/include/svx/svdcrtv.hxx
+++ b/include/svx/svdcrtv.hxx
@@ -51,7 +51,6 @@ protected:
sal_uInt32 nAktInvent; // set the current ones
sal_uInt16 nAktIdent; // Obj for re-creating
- bool bAutoTextEdit : 1; // Textedit after we start the creation of a text frame
bool b1stPointAsCenter : 1;
bool bUseIncompatiblePathCreateInterface : 1;
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx
index b31d9bfe92ee..4ff71004d2bb 100644
--- a/include/svx/svdoashp.hxx
+++ b/include/svx/svdoashp.hxx
@@ -145,7 +145,6 @@ protected:
// and object sizes
virtual void AdaptTextMinSize() override;
- OUString aName;
Size m_aSuggestedTextFrameSize;
public: