summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 17:01:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:48:15 +0200
commit1d2b6b709e81eec8600118b3402d82707aa113bc (patch)
tree09dce9cc095e37c3c5a18d81ca3afebba546ae4c /svx/source/sidebar
parentca734f7cfa55814a85d5940e5f64d7c53638f6a7 (diff)
Just use Any ctor instead of makeAny in svx
Change-Id: I59b1b3f817a9028f132456ea5094f38f88674d00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133768 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx2
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingControl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 833113b1293b..da9e067b2f01 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -435,7 +435,7 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, ClickAutoHdl, weld::Toggleable&, void )
// mxCbxScale must synchronized with that on Position and Size tabpage on Shape Properties dialog
SvtViewOptions aPageOpt(EViewType::TabPage, "cui/ui/possizetabpage/PositionAndSize");
- aPageOpt.SetUserItem( USERITEM_NAME, css::uno::makeAny( OUString::number( int(mxCbxScale->get_active()) ) ) );
+ aPageOpt.SetUserItem( USERITEM_NAME, css::uno::Any( OUString::number( int(mxCbxScale->get_active()) ) ) );
}
IMPL_LINK_NOARG( PosSizePropertyPanel, RotationHdl, DialControl&, void )
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
index 0826434b79fb..b2b2f87a4b08 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
@@ -99,7 +99,7 @@ TextCharacterSpacingControl::~TextCharacterSpacingControl()
{
SvtViewOptions aWinOpt(EViewType::Window, SIDEBAR_SPACING_GLOBAL_VALUE);
css::uno::Sequence<css::beans::NamedValue> aSeq
- { { "Spacing", css::uno::makeAny(OUString::number(mnCustomKern)) } };
+ { { "Spacing", css::uno::Any(OUString::number(mnCustomKern)) } };
aWinOpt.SetUserData(aSeq);
}
}