summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-09 06:32:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-06-11 16:21:42 +0100
commitb3a3ab05e41a34c4a9d62639993f215dd47a2ae9 (patch)
treea6227a5407ec4efc33e404534742ed80be1377e4 /sfx2
parent4eeaa94ae07f45f0e9f1f05c474fa75e955d4e70 (diff)
Remove non-functional Hide/ShowStatusText
Change-Id: Ifad680ea6f2f3693fecc649a000e638052dcf080
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/viewfrm.hxx3
-rw-r--r--sfx2/source/appl/appbas.cxx6
-rw-r--r--sfx2/source/bastyp/progress.cxx6
-rw-r--r--sfx2/source/doc/objstor.cxx7
-rw-r--r--sfx2/source/view/viewfrm.cxx10
5 files changed, 0 insertions, 32 deletions
diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx
index 18c86787024c..5cc32597c3cf 100644
--- a/sfx2/inc/sfx2/viewfrm.hxx
+++ b/sfx2/inc/sfx2/viewfrm.hxx
@@ -157,9 +157,6 @@ public:
const ::com::sun::star::uno::Any & rValue );
virtual ::sfx2::SvLinkSource* DdeCreateLinkSource( const String& rItem );
- void ShowStatusText( const String& rText );
- void HideStatusText();
-
void UpdateTitle();
static void ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const ::rtl::OUString& i_rPanelURL );
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 0018663e83e8..1e796328df31 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -250,12 +250,6 @@ void SfxApplication::PropExec_Impl( SfxRequest &rReq )
case SID_STATUSBARTEXT:
{
- SFX_REQUEST_ARG(rReq, pStringItem, SfxStringItem, nSID, sal_False);
- String aText = pStringItem->GetValue();
- if ( aText.Len() )
- GetpApp()->ShowStatusText( aText );
- else
- GetpApp()->HideStatusText();
break;
}
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index f31b125c25da..d48c8cdf99de 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -68,7 +68,6 @@ struct SfxProgress_Impl
sal_Bool bWaitMode;
sal_Bool bAllowRescheduling;
sal_Bool bRunning;
- sal_Bool bIsStatusText;
SfxProgress* pActiveProgress;
SfxObjectShellRef xObjSh;
@@ -157,7 +156,6 @@ SfxProgress::SfxProgress
pImp->nMax = nRange;
pImp->bLocked = sal_False;
pImp->bWaitMode = bWait;
- pImp->bIsStatusText = sal_False;
pImp->nCreate = Get10ThSec();
pImp->nNextReschedule = pImp->nCreate;
DBG( DbgOutf( "SfxProgress: created for '%s' at %luds",
@@ -188,9 +186,6 @@ SfxProgress::~SfxProgress()
Stop();
if ( pImp->xStatusInd.is() )
pImp->xStatusInd->end();
-
- if( pImp->bIsStatusText == sal_True )
- GetpApp()->HideStatusText( );
delete pImp;
}
@@ -256,7 +251,6 @@ long TimeOut_Impl( void*, void* pArgV )
Timer *pArg = (Timer*)pArgV;
if( Time::GetSystemTicks() - nLastTime > 3000 )
{
- GetpApp()->HideStatusText();
nLastTime = 0;
delete pArg;
}
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 3700d574a8b6..3645e8a29aea 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -580,9 +580,6 @@ sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed )
{
ModifyBlocker_Impl aBlock( this );
- if ( SFX_CREATE_MODE_EMBEDDED != eCreateMode )
- GetpApp()->ShowStatusText( SfxResId(STR_DOC_LOADING) );
-
pMedium = pMed;
pMedium->CanDisposeStorage_Impl( sal_True );
@@ -805,8 +802,6 @@ sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed )
if ( SFX_CREATE_MODE_EMBEDDED != eCreateMode )
{
- GetpApp()->HideStatusText();
-
SFX_ITEMSET_ARG( pMedium->GetItemSet(), pAsTempItem, SfxBoolItem, SID_TEMPLATE, sal_False);
SFX_ITEMSET_ARG( pMedium->GetItemSet(), pPreviewItem, SfxBoolItem, SID_PREVIEW, sal_False);
SFX_ITEMSET_ARG( pMedium->GetItemSet(), pHiddenItem, SfxBoolItem, SID_HIDDEN, sal_False);
@@ -829,8 +824,6 @@ sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed )
if (bReconnectDde)
ReconnectDdeLinks(*this);
}
- else
- GetpApp()->HideStatusText();
return bOk;
}
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 09351f11f48a..1f920bc72f13 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1589,16 +1589,6 @@ SfxProgress* SfxViewFrame::GetProgress() const
}
//--------------------------------------------------------------------
-void SfxViewFrame::ShowStatusText( const String& /*rText*/)
-{
-}
-
-//--------------------------------------------------------------------
-void SfxViewFrame::HideStatusText()
-{
-}
-
-//--------------------------------------------------------------------
void SfxViewFrame::DoAdjustPosSizePixel //! divide on Inner.../Outer...
(
SfxViewShell* pSh,