diff -c -r1.22.4.1 bindings.cxx *** bindings.cxx 10 Feb 2003 13:43:31 -0000 1.22.4.1 --- bindings.cxx 13 Apr 2003 15:55:31 -0000 *************** *** 181,182 **** { aTimer.Stop(); ! ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aSeq(1); ! aSeq[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Referer") ); ! aSeq[0].Value <<= ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("private:user") ); ! xDisp->dispatch( aCommand, aSeq ); delete this; return 0L; --- 181,182 ---- { aTimer.Stop(); ! try ! { ! ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aSeq(1); ! aSeq[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Referer") ); ! aSeq[0].Value <<= ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("private:user") ); ! xDisp->dispatch( aCommand, aSeq ); ! } ! catch( com::sun::star::uno::Exception & e ) ! { ! // we are the last on the stack ... ! // populate the message somehow (e.g. a Message box ? ! } delete this; return 0L;