summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/paragraph
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:19:58 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-11-16 11:42:31 +0100
commit69397a13d9458174ea3d0160cb65d77ac83c205c (patch)
tree5511df93af26e29d91db5ce7934d76b6a1be55fe /svx/source/sidebar/paragraph
parent81a11c6f1c2caec8c177cb4e061631561a4d102e (diff)
tdf#123936 Formatting files in module svx with clang-format
Change-Id: I482a00c9f65fd08be03f101c0e18f044c9323137 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105716 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx/source/sidebar/paragraph')
-rw-r--r--svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
index 2d2e59f79f78..2f5714aeaba3 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx
@@ -24,14 +24,15 @@
using namespace svx;
-SvxLineSpacingToolBoxControl::SvxLineSpacingToolBoxControl(const css::uno::Reference<css::uno::XComponentContext>& rContext)
+SvxLineSpacingToolBoxControl::SvxLineSpacingToolBoxControl(
+ const css::uno::Reference<css::uno::XComponentContext>& rContext)
: PopupWindowController(rContext, nullptr, OUString())
{
}
SvxLineSpacingToolBoxControl::~SvxLineSpacingToolBoxControl() {}
-void SvxLineSpacingToolBoxControl::initialize( const css::uno::Sequence< css::uno::Any >& rArguments )
+void SvxLineSpacingToolBoxControl::initialize(const css::uno::Sequence<css::uno::Any>& rArguments)
{
PopupWindowController::initialize(rArguments);
@@ -67,9 +68,10 @@ std::unique_ptr<WeldToolbarPopup> SvxLineSpacingToolBoxControl::weldPopupWindow(
return std::make_unique<ParaLineSpacingControl>(this, m_pToolbar);
}
-VclPtr<vcl::Window> SvxLineSpacingToolBoxControl::createVclPopupWindow( vcl::Window* pParent )
+VclPtr<vcl::Window> SvxLineSpacingToolBoxControl::createVclPopupWindow(vcl::Window* pParent)
{
- mxInterimPopover = VclPtr<InterimToolbarPopup>::Create(getFrameInterface(), pParent,
+ mxInterimPopover = VclPtr<InterimToolbarPopup>::Create(
+ getFrameInterface(), pParent,
std::make_unique<ParaLineSpacingControl>(this, pParent->GetFrameWeld()));
mxInterimPopover->Show();
@@ -87,12 +89,11 @@ css::uno::Sequence<OUString> SvxLineSpacingToolBoxControl::getSupportedServiceNa
return { "com.sun.star.frame.ToolbarController" };
}
-extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
com_sun_star_comp_svx_LineSpacingToolBoxControl_get_implementation(
- css::uno::XComponentContext* rContext,
- css::uno::Sequence<css::uno::Any> const & )
+ css::uno::XComponentContext* rContext, css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire( new SvxLineSpacingToolBoxControl( rContext ) );
+ return cppu::acquire(new SvxLineSpacingToolBoxControl(rContext));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */