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