diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-27 11:28:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-27 11:34:50 +0100 |
commit | 02e1c0528bee4801cb451dcdf523990e2fcc6456 (patch) | |
tree | 4445dc8d2add64a3381de8dec6f9cba9ef144996 /starmath | |
parent | 19efe68b1ece039027b08139e032b4ce483c113b (diff) |
pClipEvtLstnr unused and xClipEvtLstnr always empty
Change-Id: Ifc883acd91108981a190f35b19648ec3a747db7b
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/view.hxx | 3 | ||||
-rw-r--r-- | starmath/source/view.cxx | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index d0d4f63a7112..ca81b0ef931c 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -230,9 +230,6 @@ class SmViewShell: public SfxViewShell SmGraphicController aGraphicController; OUString aStatusText; - ::com::sun::star::uno:: Reference < - ::com::sun::star::lang:: XEventListener > xClipEvtLstnr; - SmClipboardChangeListener* pClipEvtLstnr; bool bPasteState; DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* ); diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index b4b6a71ec839..a59ccdea275d 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1907,7 +1907,7 @@ void SmViewShell::GetState(SfxItemSet &rSet) break; case SID_PASTE: - if( !xClipEvtLstnr.is() && pEditWin) + if (pEditWin) { TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( |