[PATCH] Remove non-functional Hide/ShowStatusText

Thomas Arnhold thomas at arnhold.org
Fri Jun 8 21:34:10 PDT 2012


Change-Id: I2ac8827dbf22f858a855fc6642fc09fa3aedc5f1
---
 binfilter/bf_sfx2/source/bastyp/sfx2_progress.cxx |    5 -----
 binfilter/bf_sfx2/source/doc/sfx2_objstor.cxx     |    5 -----
 2 files changed, 10 deletions(-)

diff --git a/binfilter/bf_sfx2/source/bastyp/sfx2_progress.cxx b/binfilter/bf_sfx2/source/bastyp/sfx2_progress.cxx
index cd08a60..1ae3750 100644
--- a/binfilter/bf_sfx2/source/bastyp/sfx2_progress.cxx
+++ b/binfilter/bf_sfx2/source/bastyp/sfx2_progress.cxx
@@ -68,7 +68,6 @@ struct SfxProgress_Impl : public SfxCancellable
     BOOL                    bWaitMode;
     BOOL                    bAllowRescheduling;
     BOOL                    bRunning;
-    BOOL                    bIsStatusText;
 
     SfxProgress*            pActiveProgress;
     SfxObjectShellRef       xObjSh;
@@ -150,7 +149,6 @@ inline ULONG Get10ThSec()
 /*N*/   pImp->nMax = nRange;
 /*N*/   pImp->bLocked = FALSE;
 /*N*/   pImp->bWaitMode = bWait;
-/*N*/   pImp->bIsStatusText = FALSE;
 /*N*/   pImp->nCreate = Get10ThSec();
 /*N*/   pImp->nNextReschedule = pImp->nCreate;
 /*N*/   DBG( DbgOutf( "SfxProgress: created for '%s' at %luds",
@@ -178,9 +176,6 @@ inline ULONG Get10ThSec()
 /*N*/   Stop();
 /*N*/     if ( pImp->xStatusInd.is() )
 /*?*/         pImp->xStatusInd->end();
-/*N*/
-/*N*/   if( pImp->bIsStatusText == TRUE )
-/*?*/       GetpApp()->HideStatusText( );
 /*N*/   delete pImp;
 /*N*/ }
 
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_objstor.cxx b/binfilter/bf_sfx2/source/doc/sfx2_objstor.cxx
index f4f9483..fa4dd41 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_objstor.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_objstor.cxx
@@ -519,11 +519,6 @@ sal_False           Das Objekt konnte nicht geladen werden
         Broadcast( SfxSimpleHint(SFX_HINT_NAMECHANGED) );
     }
 
-    if ( SFX_CREATE_MODE_EMBEDDED != eCreateMode )
-    {
-        GetpApp()->HideStatusText();
-    }
-
     return bOk;
 }
 
-- 
1.7.10.4


--------------040501040808000203090609--


More information about the LibreOffice mailing list