summaryrefslogtreecommitdiff
path: root/sfx2/source/control/emojipopup.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:15:32 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 01:55:36 +0100
commitb35232bdf56fbda34476cf537d53bbea31235a95 (patch)
tree05c7430cd896694dbf4fa795c2afb2049da59586 /sfx2/source/control/emojipopup.cxx
parent58d98a08aee7bf027c109eeb94183d24351827fa (diff)
tdf#123936 Formatting files in module sfx2 with clang-format
Change-Id: I0ddd7b531cbf9aed6a3834e3cd15c7fe3644736e (cherry picked from commit 92daf140419e4539f6843e30428e786c3e655dcc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105706 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'sfx2/source/control/emojipopup.cxx')
-rw-r--r--sfx2/source/control/emojipopup.cxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/sfx2/source/control/emojipopup.cxx b/sfx2/source/control/emojipopup.cxx
index 7254d844a831..82f9bc3fc1fd 100644
--- a/sfx2/source/control/emojipopup.cxx
+++ b/sfx2/source/control/emojipopup.cxx
@@ -25,7 +25,7 @@ EmojiPopup::EmojiPopup(const css::uno::Reference<css::uno::XComponentContext>& r
{
}
-void EmojiPopup::initialize( const css::uno::Sequence< css::uno::Any >& rArguments )
+void EmojiPopup::initialize(const css::uno::Sequence<css::uno::Any>& rArguments)
{
PopupWindowController::initialize(rArguments);
@@ -35,18 +35,17 @@ void EmojiPopup::initialize( const css::uno::Sequence< css::uno::Any >& rArgumen
pToolBox->SetItemBits(nId, ToolBoxItemBits::DROPDOWNONLY | pToolBox->GetItemBits(nId));
}
-EmojiPopup::~EmojiPopup()
-{
-}
+EmojiPopup::~EmojiPopup() {}
std::unique_ptr<WeldToolbarPopup> EmojiPopup::weldPopupWindow()
{
return std::make_unique<SfxEmojiControl>(this, m_pToolbar);
}
-VclPtr<vcl::Window> EmojiPopup::createVclPopupWindow( vcl::Window* pParent )
+VclPtr<vcl::Window> EmojiPopup::createVclPopupWindow(vcl::Window* pParent)
{
- mxInterimPopover = VclPtr<InterimToolbarPopup>::Create(getFrameInterface(), pParent,
+ mxInterimPopover = VclPtr<InterimToolbarPopup>::Create(
+ getFrameInterface(), pParent,
std::make_unique<SfxEmojiControl>(this, pParent->GetFrameWeld()));
mxInterimPopover->Show();
@@ -64,10 +63,9 @@ css::uno::Sequence<OUString> EmojiPopup::getSupportedServiceNames()
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_sfx2_InsertEmojiToolBoxControl_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 EmojiPopup(rContext));
}