summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 12:01:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 19:27:44 +0200
commit5e4134535391e9977e72c7001e3b4a5eea113c3c (patch)
treec48fdca598529e9964d6029c3e2c176b836177ec /extensions/source/propctrlr/standardcontrol.cxx
parent031173da38de93e5153c5d2c105706df07127b99 (diff)
Just use Any ctor instead of makeAny in extensions
Change-Id: I0441d30044168563b0d5b8406fcc99b51a9cbc1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133817 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index ba1b943f29a5..95b4143c76b8 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -314,7 +314,7 @@ namespace pcr
Any SAL_CALL OHyperlinkControl::getValue()
{
OUString sText = m_xEntry->get_text();
- return makeAny( sText );
+ return Any( sText );
}
void SAL_CALL OHyperlinkControl::setValue( const Any& _value )
@@ -638,7 +638,7 @@ namespace pcr
Any SAL_CALL OComboboxControl::getValue()
{
- return makeAny( getTypedControlWindow()->get_active_text() );
+ return Any( getTypedControlWindow()->get_active_text() );
}
Type SAL_CALL OComboboxControl::getValueType()