[Libreoffice-commits] .: sw/inc sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 11 01:29:34 PST 2013


 sw/inc/hhcwrp.hxx             |    3 ---
 sw/source/ui/lingu/hhcwrp.cxx |    8 +-------
 2 files changed, 1 insertion(+), 10 deletions(-)

New commits:
commit 9d3789af2b509a8a8a1c9a923218d67104f11f3f
Author: Matteo Casalin <matteo.casalin at gmx.com>
Date:   Mon Jan 7 23:42:10 2013 +0100

    Remove unused class members
    
    Change-Id: I44fe6ad3dacc65e28256aca98588b7dfe92d73ae
    Reviewed-on: https://gerrit.libreoffice.org/1638
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index b5819c8..85ee116 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -47,12 +47,9 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion
     sal_uInt16      nPageStart;     ///< first checked page
 
     sal_Bool    bIsDrawObj;
-    sal_Bool    bIsStart;
     sal_Bool    bIsOtherCntnt;
     sal_Bool    bStartChk;
     sal_Bool    bIsSelection;       ///< true if only the selected text should be converted
-    sal_Bool    bInfoBox;           ///< true if message should be displayed at the end
-    sal_Bool    bIsConvSpecial;     ///< true if special regions: header, footer, ... should be converted
     sal_Bool    bStartDone;
     sal_Bool    bEndDone;
 
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx
index d6256e9..25187b2 100644
--- a/sw/source/ui/lingu/hhcwrp.cxx
+++ b/sw/source/ui/lingu/hhcwrp.cxx
@@ -110,11 +110,8 @@ SwHHCWrapper::SwHHCWrapper(
     pView           = pSwView;
     pWin            = &pSwView->GetEditWin();
     bIsDrawObj      = sal_False;
-    bIsStart        = bStart;
     bIsOtherCntnt   = bStartChk     = bOther;
-    bIsConvSpecial  = sal_True;
     bIsSelection    = bSelection;
-    bInfoBox        = sal_False;
     bStartDone  = bOther || bStart;
     bEndDone    = sal_False;
 //    bLastRet    = sal_True;
@@ -660,7 +657,6 @@ sal_Bool SwHHCWrapper::ConvNext_impl( )
 
     if( bIsOtherCntnt && bStartDone && bEndDone ) // document completely checked?
     {
-        bInfoBox = sal_True;
         return sal_False;
     }
 
@@ -675,13 +671,11 @@ sal_Bool SwHHCWrapper::ConvNext_impl( )
     else if ( bStartDone && bEndDone )
     {
         // body region done, ask about special region
-        if( bIsConvSpecial && HasOtherCnt_impl() )
+        if( HasOtherCnt_impl() )
         {
             ConvStart_impl( pConvArgs, SVX_SPELL_OTHER );
             bIsOtherCntnt = bGoOn = sal_True;
         }
-        else
-            bInfoBox = sal_True;
     }
     else
     {


More information about the Libreoffice-commits mailing list