diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 12:13:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 18:01:25 +0100 |
commit | f47b60667ff307e9e44ecd5457261151b9aca8cb (patch) | |
tree | 74fb3d0d1e12117cefae6d294e57e0855ee0c03d /sw | |
parent | dabadf7c54a778546d5a64edf2152cd2f04b72a3 (diff) |
SfxProgress:SetStateText is dead
since
commit 83ee1bccf9899bb5c1913389b9a26a73a515ad82
Date: Fri Jul 22 09:19:52 2011 +0100
callcatcher: remove unused methods
and even following the history back before that only shows one previous
actual place where the state text was being displayed.
Change-Id: Ib520cb6e999c1e11caf7348821bb274cdd785a44
Reviewed-on: https://gerrit.libreoffice.org/68198
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/mdiexp.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/edit/edtox.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/app/mainwn.cxx | 10 |
3 files changed, 0 insertions, 13 deletions
diff --git a/sw/inc/mdiexp.hxx b/sw/inc/mdiexp.hxx index 052385911da5..3715c6702f78 100644 --- a/sw/inc/mdiexp.hxx +++ b/sw/inc/mdiexp.hxx @@ -44,7 +44,6 @@ extern void FrameNotify( SwViewShell* pVwSh, FlyMode eMode = FLY_DRAG ); SW_DLLPUBLIC void StartProgress(const char* pMessId, long nStartVal, long nEndVal, SwDocShell *pDocSh = nullptr); SW_DLLPUBLIC void EndProgress ( SwDocShell const *pDocSh ); SW_DLLPUBLIC void SetProgressState ( long nPosition, SwDocShell const *pDocShell ); -void SetProgressText(const char* pMessId, SwDocShell const *pDocShell); void RescheduleProgress( SwDocShell const *pDocShell ); void RepaintPagePreview( SwViewShell const * pVwSh, const SwRect& rRect ); diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx index d7b71d352820..ae13d140ecc3 100644 --- a/sw/source/core/edit/edtox.cxx +++ b/sw/source/core/edit/edtox.cxx @@ -133,7 +133,6 @@ void SwEditShell::InsertTableOf( const SwTOXBase& rTOX, const SfxItemSet* pSet ) SwDocShell* pDocSh = GetDoc()->GetDocShell(); ::StartProgress( STR_STATSTR_TOX_INSERT, 0, 0, pDocSh ); - ::SetProgressText( STR_STATSTR_TOX_INSERT, pDocSh ); // Insert listing const SwTOXBaseSection* pTOX = mxDoc->InsertTableOf( @@ -169,7 +168,6 @@ void SwEditShell::UpdateTableOf(const SwTOXBase& rTOX, const SfxItemSet* pSet) StartAllAction(); ::StartProgress( STR_STATSTR_TOX_UPDATE, 0, 0, pDocSh ); - ::SetProgressText( STR_STATSTR_TOX_UPDATE, pDocSh ); pMyDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::TOXCHANGE, nullptr); diff --git a/sw/source/uibase/app/mainwn.cxx b/sw/source/uibase/app/mainwn.cxx index 8adb6212e4ad..a367b81eef18 100644 --- a/sw/source/uibase/app/mainwn.cxx +++ b/sw/source/uibase/app/mainwn.cxx @@ -116,16 +116,6 @@ void EndProgress( SwDocShell const *pDocShell ) } } -void SetProgressText(const char* pId, SwDocShell const *pDocShell) -{ - if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() ) - { - SwProgress *pProgress = lcl_SwFindProgress( pDocShell ); - if ( pProgress ) - pProgress->pProgress->SetStateText(0, SwResId(pId)); - } -} - void RescheduleProgress( SwDocShell const *pDocShell ) { if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() ) |