summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx6
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" )