starmath/inc/view.hxx | 3 --- starmath/source/view.cxx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-)
New commits: commit 02e1c0528bee4801cb451dcdf523990e2fcc6456 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Jun 27 11:28:52 2013 +0100 pClipEvtLstnr unused and xClipEvtLstnr always empty Change-Id: Ifc883acd91108981a190f35b19648ec3a747db7b diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index d0d4f63..ca81b0e 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 b4b6a71..a59ccde 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(
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits