diff options
Diffstat (limited to 'framework/source/uielement/complextoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/complextoolbarcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx index fb902ed17d1e..3938974c2a0f 100644 --- a/framework/source/uielement/complextoolbarcontroller.cxx +++ b/framework/source/uielement/complextoolbarcontroller.cxx @@ -175,7 +175,7 @@ void ComplexToolbarController::statusChanged( const FeatureStateEvent& Event ) { if (aControlCommand.Command == "SetQuickHelpText") { - for (NamedValue const & rArg : std::as_const(aControlCommand.Arguments)) + for (NamedValue const& rArg : aControlCommand.Arguments) { if (rArg.Name == "HelpText") { @@ -315,7 +315,7 @@ void ComplexToolbarController::notifyFocusLost() void ComplexToolbarController::notifyTextChanged( const OUString& aText ) { // send text changed notification - uno::Sequence< beans::NamedValue > aInfo { { "Text", css::uno::makeAny(aText) } }; + uno::Sequence< beans::NamedValue > aInfo { { "Text", css::uno::Any(aText) } }; addNotifyInfo( "TextChanged", getDispatchFromCommand( m_aCommandURL ), aInfo ); |