diff options
author | Matteo Casalin <matteo.casalin@gmx.com> | 2013-01-10 23:36:51 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-01-11 15:21:29 +0000 |
commit | 40cfbd62e9f3aa52036a339cbbc9e542647017d3 (patch) | |
tree | 6c167ee428a246a051ece3ff2ccb1681f4dd3225 /sw/source/ui/lingu/hhcwrp.cxx | |
parent | 6704bb8eb0ac93da96cf58aac28c4f04e794dfd6 (diff) |
Use member initializer list in constructor
Change-Id: I8d4f8b95909b91917b456f49d7a3ac270703cc96
Reviewed-on: https://gerrit.libreoffice.org/1640
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'sw/source/ui/lingu/hhcwrp.cxx')
-rw-r--r-- | sw/source/ui/lingu/hhcwrp.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx index b6da29bd45b3..4d9a0d4f7d7d 100644 --- a/sw/source/ui/lingu/hhcwrp.cxx +++ b/sw/source/ui/lingu/hhcwrp.cxx @@ -101,21 +101,21 @@ SwHHCWrapper::SwHHCWrapper( pTargetFont, nConvOptions, bIsInteractive ), - mrWrtShell( pSwView->GetWrtShell() ) + mpView( pSwView ), + mpWin( &pSwView->GetEditWin() ), + mrWrtShell( pSwView->GetWrtShell() ), + mpConvArgs( 0 ), + mnLastPos( 0 ), + mnUnitOffset( 0 ), + mnPageCount( 0 ), + mnPageStart( 0 ), + mbIsDrawObj( sal_False ), + mbIsOtherCntnt( bOther ), + mbStartChk( bOther ), + mbIsSelection( bSelection ), + mbStartDone( bOther || bStart ), + mbEndDone( sal_False ) { - mpConvArgs = 0; - mnLastPos = 0; - mnUnitOffset = 0; - - mpView = pSwView; - mpWin = &pSwView->GetEditWin(); - mbIsDrawObj = sal_False; - mbIsOtherCntnt = mbStartChk = bOther; - mbIsSelection = bSelection; - mbStartDone = bOther || bStart; - mbEndDone = sal_False; -// bLastRet = sal_True; - mnPageCount = mnPageStart = 0; } |