summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 12:30:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 09:00:18 +0200
commit222bc56e21356520a55a871c9cdfc26d2fc3fcb2 (patch)
tree8b68267dcac953d1b519c1fcb21441df2733da1b /editeng/source/misc
parent6bbda13286c8f736f35ceb7a377ca15b3fd544b2 (diff)
loplugin:unusedfields in desktop..editeng
Change-Id: Ieea12d0790a1034eba8975fe74fa205f02003b7d Reviewed-on: https://gerrit.libreoffice.org/39134 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/splwrap.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index 197cfcdf13b5..ca006a885549 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -139,9 +139,7 @@ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn,
const bool bStart, const bool bIsAllRight ) :
pWin ( pWn ),
- mpTextObj ( nullptr),
bOtherCntnt ( false ),
- bDialog ( false ),
bHyphen ( false ),
bStartChk ( false ),
bRevAllowed ( true ),
@@ -160,9 +158,7 @@ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn,
const bool bStart, const bool bOther ) :
pWin ( pWn ),
xHyph ( xHyphenator ),
- mpTextObj( nullptr),
bOtherCntnt ( bOther ),
- bDialog ( false ),
bHyphen ( false ),
bReverse ( false ),
bStartDone ( bOther || ( !bReverse && bStart ) ),
@@ -280,7 +276,6 @@ void SvxSpellWrapper::SpellDocument( )
Reference< XHyphenatedWord > xHyphWord( GetLast(), UNO_QUERY );
vcl::Window *pOld = pWin;
- bDialog = true;
if (xHyphWord.is())
{
EditAbstractDialogFactory* pFact = EditAbstractDialogFactory::Create();
@@ -291,7 +286,6 @@ void SvxSpellWrapper::SpellDocument( )
pWin = pDlg->GetWindow();
pDlg->Execute();
}
- bDialog = false;
pWin = pOld;
}
}