From f42b66cc5104447a5505cc2c11e89fb42250d24b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 4 Oct 2011 22:27:05 +0100 Subject: callcatcher: unused methods --- sw/inc/editsh.hxx | 2 -- sw/source/core/edit/edfld.cxx | 13 ------------- 2 files changed, 15 deletions(-) (limited to 'sw') diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index ab77265a3e83..d1e423f88359 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -354,8 +354,6 @@ public: // Check whether DB fields point to an available data source and returns it. sal_Bool IsFieldDataSourceAvailable(String& rUsedDataSource) const; void UpdateExpFlds(sal_Bool bCloseDB = sal_False);// nur alle ExpressionFelder updaten - void SetFixFields( sal_Bool bOnlyTimeDate = sal_False, - const DateTime* pNewDateTime = 0 ); void LockExpFlds(); void UnlockExpFlds(); diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx index 9897e0a5f23d..0a074ac5f771 100644 --- a/sw/source/core/edit/edfld.cxx +++ b/sw/source/core/edit/edfld.cxx @@ -493,19 +493,6 @@ SwFldUpdateFlags SwEditShell::GetFldUpdateFlags(sal_Bool bDocSettings) const return getIDocumentSettingAccess()->getFieldUpdateFlags( !bDocSettings ); } -void SwEditShell::SetFixFields( sal_Bool bOnlyTimeDate, - const DateTime* pNewDateTime ) -{ - SET_CURR_SHELL( this ); - sal_Bool bUnLockView = !IsViewLocked(); - LockView( sal_True ); - StartAllAction(); - GetDoc()->SetFixFields( bOnlyTimeDate, pNewDateTime ); - EndAllAction(); - if( bUnLockView ) - LockView( sal_False ); -} - void SwEditShell::SetLabelDoc( sal_Bool bFlag ) { GetDoc()->set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag ); -- cgit