diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-02 09:19:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-02 11:59:53 +0100 |
commit | d4395f450de3cdcf5fde2187054a44eca680d81f (patch) | |
tree | 82b63119d259e2fdb6b0984788e38b4867a34ef5 /sfx2 | |
parent | 7d943c1c572d463ebd0a997973383a579b60951f (diff) |
drop unused SfxSpecialConfigError_Impl
unused since a2bf98857b675b2d10a4fd93a0413229abebf3f1
Change-Id: I73c253e763eb9239256dfd78b4b782a36bc3a30d
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appmisc.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 06f18fbe1c13..d5ab3294aeb3 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -88,35 +88,6 @@ using namespace ::com::sun::star::container; #define SfxApplication #include "sfxslots.hxx" -class SfxSpecialConfigError_Impl -{ - String aError; - -public: - - SfxSpecialConfigError_Impl( const String& rStr ); - DECL_LINK( TimerHdl, Timer*); -}; - - -SfxSpecialConfigError_Impl::SfxSpecialConfigError_Impl( const String& rStr ) : - aError( rStr ) -{ - Timer *pTimer = new Timer; - pTimer->SetTimeoutHdl( LINK(this, SfxSpecialConfigError_Impl, TimerHdl) ); - pTimer->SetTimeout( 0 ); - pTimer->Start(); -} - -IMPL_LINK( SfxSpecialConfigError_Impl, TimerHdl, Timer*, pTimer ) -{ - delete pTimer; - ErrorBox( 0, WinBits( WB_OK ) , aError ).Execute(); - delete this; - SFX_APP()->GetAppDispatcher_Impl()->Execute( SID_QUITAPP ); - return 0L; -} - //==================================================================== #define SFX_ITEMTYPE_STATBAR 4 |