[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 11 07:21:48 PST 2013


 sw/source/ui/lingu/hhcwrp.cxx |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 40cfbd62e9f3aa52036a339cbbc9e542647017d3
Author: Matteo Casalin <matteo.casalin at gmx.com>
Date:   Thu Jan 10 23:36:51 2013 +0100

    Use member initializer list in constructor
    
    Change-Id: I8d4f8b95909b91917b456f49d7a3ac270703cc96
    Reviewed-on: https://gerrit.libreoffice.org/1640
    Reviewed-by: Noel Power <noel.power at suse.com>
    Tested-by: Noel Power <noel.power at suse.com>

diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx
index b6da29b..4d9a0d4 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;
 }
 
 


More information about the Libreoffice-commits mailing list