[PATCH] Remove unused class members

Matteo Casalin (via Code Review) gerrit at gerrit.libreoffice.org
Fri Jan 11 00:08:02 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1638

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/38/1638/1

Remove unused class members

Change-Id: I44fe6ad3dacc65e28256aca98588b7dfe92d73ae
---
M sw/inc/hhcwrp.hxx
M sw/source/ui/lingu/hhcwrp.cxx
2 files changed, 1 insertion(+), 10 deletions(-)



diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index 0be12b5..0d0c6b1 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -47,12 +47,9 @@
     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 953fdc7..03bdc7a 100644
--- a/sw/source/ui/lingu/hhcwrp.cxx
+++ b/sw/source/ui/lingu/hhcwrp.cxx
@@ -112,11 +112,8 @@
     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;
@@ -662,7 +659,6 @@
 
     if( bIsOtherCntnt && bStartDone && bEndDone ) // document completely checked?
     {
-        bInfoBox = sal_True;
         return sal_False;
     }
 
@@ -677,13 +673,11 @@
     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
     {

-- 
To view, visit https://gerrit.libreoffice.org/1638
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I44fe6ad3dacc65e28256aca98588b7dfe92d73ae
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matteo Casalin <matteo.casalin at gmx.com>



More information about the LibreOffice mailing list