diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-07-25 06:05:28 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-07-25 06:05:28 -0700 |
commit | 0893c1c71901a3d8a99faa006ec3c93c315ff4b6 (patch) | |
tree | 2124f6bc8364e90a887e562bf88c8a7377728133 /sfx2 | |
parent | 670466537b5918f7e0305573a637c70fb38f5a76 (diff) |
Remove unneeded #include <unotools/javaoptions.hxx>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index dcd484b5fa..87907c381b 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -57,7 +57,6 @@ #include <svtools/soerr.hxx> #include <unotools/internaloptions.hxx> -#include <unotools/javaoptions.hxx> #include <basic/basmgr.hxx> #include <basic/sbuno.hxx> #include <framework/actiontriggerhelper.hxx> @@ -135,17 +134,17 @@ public: struct AsyncExecuteInfo { - AsyncExecuteInfo( AsyncExecuteCmd eCmd, uno::Reference< datatransfer::clipboard::XClipboardListener > xThis, SfxClipboardChangeListener* pListener ) : + AsyncExecuteInfo( AsyncExecuteCmd eCmd, uno::Reference< datatransfer::clipboard::XClipboardListener > xThis, SfxClipboardChangeListener* pListener ) : m_eCmd( eCmd ), m_xThis( xThis ), m_pListener( pListener ) {} AsyncExecuteCmd m_eCmd; uno::Reference< datatransfer::clipboard::XClipboardListener > m_xThis; SfxClipboardChangeListener* m_pListener; }; - + private: SfxViewShell* m_pViewShell; - uno::Reference< datatransfer::clipboard::XClipboardNotifier > m_xClpbrdNtfr; + uno::Reference< datatransfer::clipboard::XClipboardNotifier > m_xClpbrdNtfr; uno::Reference< lang::XComponent > m_xCtrl; DECL_STATIC_LINK( SfxClipboardChangeListener, AsyncExecuteHdl_Impl, AsyncExecuteInfo* ); @@ -197,7 +196,7 @@ IMPL_STATIC_LINK_NOINSTANCE( SfxClipboardChangeListener, AsyncExecuteHdl_Impl, A } } delete pAsyncExecuteInfo; - + return 0; } @@ -207,7 +206,7 @@ throw ( uno::RuntimeException ) // Either clipboard or ViewShell is going to be destroyed -> no interest in listening anymore uno::Reference< lang::XComponent > xCtrl( m_xCtrl ); uno::Reference< datatransfer::clipboard::XClipboardNotifier > xNotify( m_xClpbrdNtfr ); - + uno::Reference< datatransfer::clipboard::XClipboardListener > xThis( static_cast< datatransfer::clipboard::XClipboardListener* >( this )); if ( xCtrl.is() ) xCtrl->removeEventListener( uno::Reference < lang::XEventListener > ( static_cast < lang::XEventListener* >( this ))); @@ -1469,7 +1468,7 @@ String SfxViewShell::GetSelectionText //-------------------------------------------------------------------- sal_Bool SfxViewShell::HasSelection( sal_Bool ) const - + /* [Description] With this virtual Method can a for example a Dialog be queried, to |