Kaydet (Commit) 3010e0a6 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in editeng

Change-Id: Ic237f67cb48d8894227805904fbba3b7865b2358
Reviewed-on: https://gerrit.libreoffice.org/68230
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst adb2b8ff
......@@ -173,10 +173,6 @@ namespace accessibility
// guard for maOffset
mutable ::osl::Mutex maMutex;
/// our current offset to the containing shape/cell (guarded by maMutex)
Point maOffset;
};
......@@ -186,8 +182,7 @@ namespace accessibility
AccessibleStaticTextBase_Impl::AccessibleStaticTextBase_Impl() :
mxTextParagraph( new AccessibleEditableTextPara(nullptr) ),
maEditSource(),
maMutex(),
maOffset(0,0)
maMutex()
{
// TODO: this is still somewhat of a hack, all the more since
......@@ -204,13 +199,6 @@ namespace accessibility
void AccessibleStaticTextBase_Impl::SetOffset( const Point& rPoint )
{
// guard against non-atomic access to maOffset data structure
{
::osl::MutexGuard aGuard( maMutex );
maOffset = rPoint;
}
if( mxTextParagraph.is() )
mxTextParagraph->SetEEOffset( rPoint );
}
......
......@@ -248,7 +248,6 @@ void EditRTFParser::InsertText()
if (mpEditEngine->IsRtfImportHandlerSet())
{
RtfImportInfo aImportInfo(RtfImportState::InsertText, this, mpEditEngine->CreateESelection(aCurSel));
aImportInfo.aText = aText;
mpEditEngine->CallRtfImportHandler(aImportInfo);
}
aCurSel = mpEditEngine->InsertText(aCurSel, aText);
......
......@@ -711,7 +711,6 @@ SvxAlternativeSpelling SvxGetAltSpelling(
aRes.nChangedPos = nL;
aRes.nChangedLength = nLen - nL - nR;
aRes.bIsAltSpelling = true;
aRes.xHyphWord = rHyphWord;
}
return aRes;
}
......
......@@ -1611,10 +1611,6 @@ EBulletInfo Outliner::GetBulletInfo( sal_Int32 nPara )
if( pFmt->GetBulletFont() )
aInfo.aFont = *pFmt->GetBulletFont();
}
else if ( pFmt->GetBrush()->GetGraphicObject() )
{
aInfo.aGraphic = pFmt->GetBrush()->GetGraphicObject()->GetGraphic();
}
}
if ( aInfo.bVisible )
......
......@@ -255,8 +255,6 @@ struct RtfImportInfo
int nToken;
short nTokenValue;
OUString aText;
RtfImportInfo( RtfImportState eState, SvParser<int>* pPrsrs, const ESelection& rSel );
~RtfImportInfo();
};
......
......@@ -546,7 +546,6 @@ struct EBulletInfo
sal_uInt16 nType; // see SvxNumberType
OUString aText;
SvxFont aFont;
Graphic aGraphic;
sal_Int32 nParagraph;
tools::Rectangle aBounds;
......
......@@ -91,8 +91,6 @@ namespace com { namespace sun { namespace star { namespace linguistic2 {
struct SvxAlternativeSpelling
{
OUString aReplacement;
css::uno::Reference< css::linguistic2::XHyphenatedWord >
xHyphWord;
sal_Int16 nChangedPos,
nChangedLength;
bool bIsAltSpelling;
......
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