From 9ac8a57e52a25870d497241c64bff3da0272cf4d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 16 Oct 2016 09:40:42 +0200 Subject: replace <<= with assign for <<= with rhs Any makeAny and Any ctor return an Any Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec Reviewed-on: https://gerrit.libreoffice.org/29914 Tested-by: Jenkins Reviewed-by: Jochen Nitschke --- odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odk/examples/cpp') diff --git a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx index 721329d4c9e0..5d3eb2cc4478 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx +++ b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx @@ -306,7 +306,7 @@ void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < Property aEvent.Source = (::com::sun::star::frame::XDispatch*) this; aEvent.IsEnabled = mbButtonEnabled; aEvent.Requery = sal_False; - aEvent.State <<= Any(); + aEvent.State = Any(); // Notify listener about new state Reference < XDispatch > xDispatch = aListenerHelper.GetDispatch( mxFrame, aURL.Path ); @@ -345,7 +345,7 @@ void SAL_CALL BaseDispatch::addStatusListener( const Reference< XStatusListener aEvent.Source = (::com::sun::star::frame::XDispatch*) this; aEvent.IsEnabled = mbButtonEnabled; aEvent.Requery = sal_False; - aEvent.State <<= Any(); + aEvent.State = Any(); xControl->statusChanged( aEvent ); } else if ( aURL.Path == "ComboboxCmd" ) @@ -356,7 +356,7 @@ void SAL_CALL BaseDispatch::addStatusListener( const Reference< XStatusListener aEvent.Source = (::com::sun::star::frame::XDispatch*) this; aEvent.IsEnabled = sal_True; aEvent.Requery = sal_False; - aEvent.State <<= Any(); + aEvent.State = Any(); xControl->statusChanged( aEvent ); } else if ( aURL.Path == "ToggleDropdownButtonCmd" ) -- cgit