summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-25 07:00:23 +0200
committerNoel Grandin <noel@peralex.com>2015-11-25 08:25:10 +0200
commita4af308d90463049379557e2efc0205972164384 (patch)
treea3e4fbe6151cd78c8122640ec0f4f11b5383be58 /svx
parent234884c09db0301b9f0b3336f9b0dbb9523ee005 (diff)
loplugin:unusedfields in include/svx
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx5
-rw-r--r--svx/source/dialog/srchdlg.cxx1
-rw-r--r--svx/source/fmcomp/fmgridif.cxx1
-rw-r--r--svx/source/form/fmshell.cxx1
-rw-r--r--svx/source/gallery2/gallery1.cxx3
-rw-r--r--svx/source/svdraw/svdetc.cxx6
-rw-r--r--svx/source/svdraw/svdmodel.cxx5
-rw-r--r--svx/source/svdraw/svdotxln.cxx9
-rw-r--r--svx/source/svdraw/svdouno.cxx11
-rw-r--r--svx/source/svdraw/svdsnpv.cxx5
-rw-r--r--svx/source/svdraw/svdundo.cxx2
-rw-r--r--svx/source/svdraw/svdview.cxx2
12 files changed, 12 insertions, 39 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 9ac39b334142..d1b9a485f61a 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -1119,9 +1119,8 @@ void SvxPixelCtl::Reset()
// Constructor: BitmapCtl for SvxPixelCtl
-SvxBitmapCtl::SvxBitmapCtl( vcl::Window* /*pParent*/, const Size& rSize )
- : aSize(rSize)
- , nLines(0)
+SvxBitmapCtl::SvxBitmapCtl()
+ : nLines(0)
, pBmpArray(nullptr)
{
}
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 54ee17f290d8..5741e29eeeda 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -258,7 +258,6 @@ SvxSearchDialog::SvxSearchDialog( vcl::Window* pParent, SfxChildWindow* pChildWi
, bFormat(false)
, nOptions(SearchOptionFlags::ALL)
, bSet(false)
- , bReadOnly(false)
, bConstruct(true)
, nModifyFlag(0)
, pImpl(nullptr)
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index e91d2f32b576..12adb13e440a 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -342,7 +342,6 @@ FmXGridControl::FmXGridControl(const Reference< XComponentContext >& _rxContext)
,m_aContainerListeners(*this, GetMutex())
,m_aSelectionListeners(*this, GetMutex())
,m_aGridControlListeners(*this, GetMutex())
- ,m_nPeerCreationLevel(0)
,m_bInDraw(false)
,m_xContext(_rxContext)
{
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index e9e39a0cf100..c8bbc1bc60bd 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -207,7 +207,6 @@ FmFormShell::FmFormShell( SfxViewShell* _pParent, FmFormView* pView )
,m_pImpl(new FmXFormShell(*this, _pParent->GetViewFrame()))
,m_pFormView( pView )
,m_pFormModel( nullptr )
- ,m_pParentShell(_pParent)
,m_nLastSlot( 0 )
,m_bDesignMode( true )
,m_bHasForms(false)
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index fb8132586cd5..a5ce139331ad 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -166,8 +166,7 @@ public:
// - Gallery -
Gallery::Gallery( const OUString& rMultiPath )
-: nReadTextEncoding ( osl_getThreadTextEncoding() )
-, bMultiPath ( false )
+: bMultiPath ( false )
{
ImplLoad( rMultiPath );
}
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index 9efc087bfef5..1912588117ba 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -71,10 +71,8 @@ using namespace ::com::sun::star;
SdrGlobalData::SdrGlobalData() :
pSysLocale(nullptr),
pLocaleData(nullptr),
- pOutliner(nullptr),
pDefaults(nullptr),
- pResMgr(nullptr),
- nExchangeFormat(0)
+ pResMgr(nullptr)
{
if (!utl::ConfigManager::IsAvoidConfig())
{
@@ -397,8 +395,6 @@ bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol)
}
SdrEngineDefaults::SdrEngineDefaults():
- aFontName( OutputDevice::GetDefaultFont( DefaultFontType::SERIF, LANGUAGE_SYSTEM, GetDefaultFontFlags::OnlyOne ).GetName() ),
- eFontFamily(FAMILY_ROMAN),
aFontColor(COL_AUTO),
nFontHeight(847), // 847/100mm = ca. 24 Point
eMapUnit(MAP_100TH_MM),
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 7a688dac7c6d..9d3fe0747384 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -234,7 +234,6 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe
}
SdrModel::SdrModel():
- aReadDate( DateTime::EMPTY ),
maMaPag(),
maPages()
{
@@ -242,7 +241,6 @@ SdrModel::SdrModel():
}
SdrModel::SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, bool bLoadRefCounts):
- aReadDate( DateTime::EMPTY ),
maMaPag(),
maPages()
{
@@ -250,7 +248,6 @@ SdrModel::SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, boo
}
SdrModel::SdrModel(const OUString& rPath, SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, bool bLoadRefCounts):
- aReadDate( DateTime::EMPTY ),
maMaPag(),
maPages(),
aTablePath(rPath)
@@ -2101,7 +2098,6 @@ const css::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelImplementationId()
SdrHint::SdrHint(SdrHintKind eNewHint)
: mpPage(nullptr),
mpObj(nullptr),
- mpObjList(nullptr),
meHint(eNewHint)
{
}
@@ -2109,7 +2105,6 @@ SdrHint::SdrHint(SdrHintKind eNewHint)
SdrHint::SdrHint(const SdrObject& rNewObj)
: mpPage(rNewObj.GetPage()),
mpObj(&rNewObj),
- mpObjList(rNewObj.GetObjList()),
meHint(HINT_OBJCHG)
{
maRectangle = rNewObj.GetLastBoundRect();
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx
index 840dbbe618a3..7374491a40ed 100644
--- a/svx/source/svdraw/svdotxln.cxx
+++ b/svx/source/svdraw/svdotxln.cxx
@@ -100,9 +100,8 @@ void ImpSdrObjTextLink::Closed()
}
-ImpSdrObjTextLinkUserData::ImpSdrObjTextLinkUserData(SdrTextObj* pObj1):
+ImpSdrObjTextLinkUserData::ImpSdrObjTextLinkUserData():
SdrObjUserData(SdrInventor,SDRUSERDATA_OBJTEXTLINK,0),
- pObj(pObj1),
aFileDate0( DateTime::EMPTY ),
pLink(nullptr),
eCharSet(RTL_TEXTENCODING_DONTKNOW)
@@ -114,9 +113,9 @@ ImpSdrObjTextLinkUserData::~ImpSdrObjTextLinkUserData()
delete pLink;
}
-SdrObjUserData* ImpSdrObjTextLinkUserData::Clone(SdrObject* pObj1) const
+SdrObjUserData* ImpSdrObjTextLinkUserData::Clone(SdrObject* ) const
{
- ImpSdrObjTextLinkUserData* pData=new ImpSdrObjTextLinkUserData(static_cast<SdrTextObj*>(pObj1));
+ ImpSdrObjTextLinkUserData* pData=new ImpSdrObjTextLinkUserData;
pData->aFileName =aFileName;
pData->aFilterName=aFilterName;
pData->aFileDate0 =aFileDate0;
@@ -135,7 +134,7 @@ void SdrTextObj::SetTextLink(const OUString& rFileName, const OUString& rFilterN
if (pData!=nullptr) {
ReleaseTextLink();
}
- pData=new ImpSdrObjTextLinkUserData(this);
+ pData=new ImpSdrObjTextLinkUserData;
pData->aFileName=rFileName;
pData->aFilterName=rFilterName;
pData->eCharSet=eCharSet;
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx
index d51809ad0372..1f2b33e909f0 100644
--- a/svx/source/svdraw/svdouno.cxx
+++ b/svx/source/svdraw/svdouno.cxx
@@ -148,9 +148,8 @@ namespace
}
-SdrUnoObj::SdrUnoObj(const OUString& rModelName, bool _bOwnUnoControlModel)
-: m_pImpl( new SdrUnoObjDataHolder ),
- bOwnUnoControlModel( _bOwnUnoControlModel )
+SdrUnoObj::SdrUnoObj(const OUString& rModelName)
+: m_pImpl( new SdrUnoObjDataHolder )
{
bIsUnoObj = true;
@@ -162,10 +161,8 @@ SdrUnoObj::SdrUnoObj(const OUString& rModelName, bool _bOwnUnoControlModel)
}
SdrUnoObj::SdrUnoObj(const OUString& rModelName,
- const uno::Reference< lang::XMultiServiceFactory >& rxSFac,
- bool _bOwnUnoControlModel)
-: m_pImpl( new SdrUnoObjDataHolder ),
- bOwnUnoControlModel( _bOwnUnoControlModel )
+ const uno::Reference< lang::XMultiServiceFactory >& rxSFac)
+: m_pImpl( new SdrUnoObjDataHolder )
{
bIsUnoObj = true;
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx
index 2a97790136cc..3d00bf91e14a 100644
--- a/svx/source/svdraw/svdsnpv.cxx
+++ b/svx/source/svdraw/svdsnpv.cxx
@@ -184,16 +184,11 @@ SdrSnapView::SdrSnapView(SdrModel* pModel1, OutputDevice* pOut)
, eCrookMode(SDRCROOK_ROTATE)
, bSnapEnab(true)
, bGridSnap(true)
- , bSnapTo1Pix(true)
, bBordSnap(true)
, bHlplSnap(true)
, bOFrmSnap(true)
, bOPntSnap(false)
, bOConSnap(true)
- , bMoveMFrmSnap(true)
- , bMoveOFrmSnap(true)
- , bMoveOPntSnap(true)
- , bMoveOConSnap(true)
, bMoveSnapOnlyTopLeft(false)
, bOrtho(false)
, bBigOrtho(true)
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index f9132dc38ec6..b3cf6ae637fa 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -681,8 +681,6 @@ OUString SdrUndoGeoObj::GetComment() const
SdrUndoObjList::SdrUndoObjList(SdrObject& rNewObj, bool bOrdNumDirect)
: SdrUndoObj(rNewObj)
, bOwner(false)
- , pView(nullptr)
- , pPageView(nullptr)
{
pObjList=pObj->GetObjList();
if (bOrdNumDirect)
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 526a7b281c13..3c20ccaabf5b 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -60,7 +60,6 @@ SdrViewEvent::SdrViewEvent()
pURLField(nullptr),
eHit(SDRHIT_NONE),
eEvent(SDREVENT_NONE),
- eHdlKind(HDL_MOVE),
eEndCreateCmd(SDRCREATE_NEXTPOINT),
nMouseClicks(0),
nMouseMode(MouseEventModifiers::NONE),
@@ -69,7 +68,6 @@ SdrViewEvent::SdrViewEvent()
nGlueId(0),
bMouseDown(false),
bMouseUp(false),
- bDoubleHdlSize(false),
bIsAction(false),
bIsTextEdit(false),
bTextEditHit(false),