Kaydet (Commit) 0cda1453 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in svx/

Change-Id: Ia6531b1ff8882ad06084f11dd10e2b1fe3c8cf24
üst e2c03fde
......@@ -53,7 +53,6 @@ protected:
BitmapEx aThumbBmp; // Allow transparence to survive
GDIMetaFile aThumbMtf;
INetURLObject aURL;
OUString aUserName;
OUString aTitle;
bool bIsValid;
bool bIsThumbBmp;
......
......@@ -848,7 +848,7 @@ namespace accessibility
::accessibility::AccessibleParaManager::WeakChild >
{
public:
explicit AccessibleTextHelper_UpdateChildBounds( AccessibleTextHelper_Impl& rImpl ) : mrImpl(rImpl) {}
explicit AccessibleTextHelper_UpdateChildBounds() {}
::accessibility::AccessibleParaManager::WeakChild operator()( const ::accessibility::AccessibleParaManager::WeakChild& rChild )
{
// retrieve hard reference from weak one
......@@ -875,15 +875,12 @@ namespace accessibility
// identity transform
return rChild;
}
private:
AccessibleTextHelper_Impl& mrImpl;
};
void AccessibleTextHelper_Impl::UpdateBoundRect()
{
// send BOUNDRECT_CHANGED to affected children
AccessibleTextHelper_UpdateChildBounds aFunctor( *this );
AccessibleTextHelper_UpdateChildBounds aFunctor;
::std::transform( maParaManager.begin(), maParaManager.end(), maParaManager.begin(), aFunctor );
}
......
......@@ -47,8 +47,6 @@ struct NotifyPosSize
{
Size aPictureSize;
Point aMousePos;
bool bPictureSize;
bool bMousePos;
};
#define SVD_IMAP_USERDATA 0x0001
......
......@@ -76,10 +76,8 @@ namespace {
struct ColumnInfo
{
OUString sColumnName;
OUString sLabel;
ColumnInfo(const OUString& i_sColumnName,const OUString& i_sLabel)
ColumnInfo(const OUString& i_sColumnName)
: sColumnName(i_sColumnName)
, sLabel(i_sLabel)
{
}
};
......@@ -98,9 +96,9 @@ static void lcl_addToList( SvTreeListBox& _rListBox, const uno::Reference< conta
if ( xColumn->getPropertySetInfo()->hasPropertyByName(FM_PROP_LABEL) )
xColumn->getPropertyValue(FM_PROP_LABEL) >>= sLabel;
if ( !sLabel.isEmpty() )
_rListBox.InsertEntry( sLabel, nullptr, false, TREELIST_APPEND, new ColumnInfo(*pEntries,sLabel) );
_rListBox.InsertEntry( sLabel, nullptr, false, TREELIST_APPEND, new ColumnInfo(*pEntries) );
else
_rListBox.InsertEntry( *pEntries, nullptr, false, TREELIST_APPEND, new ColumnInfo(*pEntries,sLabel) );
_rListBox.InsertEntry( *pEntries, nullptr, false, TREELIST_APPEND, new ColumnInfo(*pEntries) );
}
}
......
......@@ -363,8 +363,6 @@ struct ImpCircUser : public SdrDragStatUserData
long nWdt;
long nStart;
long nEnd;
long nAngle;
bool bRight; // not yet implemented
public:
ImpCircUser()
......@@ -372,9 +370,7 @@ public:
nHgt(0),
nWdt(0),
nStart(0),
nEnd(0),
nAngle(0),
bRight(false)
nEnd(0)
{}
void SetCreateParams(SdrDragStat& rStat);
};
......
......@@ -205,7 +205,6 @@ public:
CellPos maEditPos;
TableStyleSettings maTableStyle;
Reference< XIndexAccess > mxTableStyle;
bool mbModifyPending;
void SetModel(SdrModel* pOldModel, SdrModel* pNewModel);
......@@ -262,7 +261,6 @@ sal_Int32 SdrTableObjImpl::lastColCount;
SdrTableObjImpl::SdrTableObjImpl()
: mpTableObj( nullptr )
, mpLayouter( nullptr )
, mbModifyPending( false )
{
}
......
......@@ -51,10 +51,9 @@ struct RTFCellDefault
{
SfxItemSet maItemSet;
sal_Int32 mnCol;
sal_uInt16 mnTwips; // right border of the cell
sal_Int32 mnColSpan; // MergeCell if >1, merged cells if 0
explicit RTFCellDefault( SfxItemPool* pPool ) : maItemSet( *pPool ), mnCol(0), mnTwips(0 ), mnColSpan(1) {}
explicit RTFCellDefault( SfxItemPool* pPool ) : maItemSet( *pPool ), mnCol(0), mnColSpan(1) {}
};
typedef std::vector< std::shared_ptr< RTFCellDefault > > RTFCellDefaultVector;
......@@ -64,9 +63,8 @@ struct RTFCellInfo
SfxItemSet maItemSet;
sal_Int32 mnStartPara;
sal_Int32 mnParaCount;
sal_Int32 mnColSpan;
explicit RTFCellInfo( SfxItemPool& rPool ) : maItemSet( rPool ), mnStartPara(0), mnParaCount(0), mnColSpan(0) {}
explicit RTFCellInfo( SfxItemPool& rPool ) : maItemSet( rPool ), mnStartPara(0), mnParaCount(0) {}
};
typedef std::shared_ptr< RTFCellInfo > RTFCellInfoPtr;
......
......@@ -221,7 +221,6 @@ public:
private:
struct Data
{
CellVector maCells;
sal_Int32 mnRow;
sal_Int32 mnHeight;
bool mbOptimalHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment