diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 09:40:42 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-17 15:39:13 +0000 |
commit | 9ac8a57e52a25870d497241c64bff3da0272cf4d (patch) | |
tree | 28841f59f47f03b3cba8a42c3249b299c498c2cd /odk | |
parent | delete setProperty specialisation with value type Any (diff) | |
download | core-9ac8a57e52a25870d497241c64bff3da0272cf4d.tar.gz core-9ac8a57e52a25870d497241c64bff3da0272cf4d.zip |
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 <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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" ) |