diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:14:32 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-22 01:56:27 +0100 |
commit | a9bce41c64bda648be2609a0dc4aea728fa8ec77 (patch) | |
tree | bf485497dc9d8e78a3ba61e29c6944ce5814b8d2 /sdext/source/presenter/PresenterSpritePane.hxx | |
parent | c096ab87c8a11e8d75dc689ea7024288419cfd22 (diff) |
tdf#123936 Formatting files in module sdext with clang-format
Change-Id: Ibfed67a0f772ea0c02bf0e7267e9ed46517e2018
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105704
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'sdext/source/presenter/PresenterSpritePane.hxx')
-rw-r--r-- | sdext/source/presenter/PresenterSpritePane.hxx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sdext/source/presenter/PresenterSpritePane.hxx b/sdext/source/presenter/PresenterSpritePane.hxx index 70af0d0f113a..377d5fa7898e 100644 --- a/sdext/source/presenter/PresenterSpritePane.hxx +++ b/sdext/source/presenter/PresenterSpritePane.hxx @@ -28,8 +28,8 @@ #include <rtl/ref.hxx> #include <memory> -namespace sdext::presenter { - +namespace sdext::presenter +{ /** Use a sprite to display the contents and the border of a pane. Windows are still used to define the locations and sizes of both the border and the pane content. Note that every resize results in a disposed canvas. @@ -38,9 +38,8 @@ namespace sdext::presenter { class PresenterSpritePane : public PresenterPaneBase { public: - PresenterSpritePane ( - const css::uno::Reference<css::uno::XComponentContext>& rxContext, - const ::rtl::Reference<PresenterController>& rpPresenterController); + PresenterSpritePane(const css::uno::Reference<css::uno::XComponentContext>& rxContext, + const ::rtl::Reference<PresenterController>& rpPresenterController); virtual ~PresenterSpritePane() override; virtual void SAL_CALL disposing() override; @@ -55,23 +54,23 @@ public: // XWindowListener - virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent) override; + virtual void SAL_CALL windowResized(const css::awt::WindowEvent& rEvent) override; - virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent) override; + virtual void SAL_CALL windowMoved(const css::awt::WindowEvent& rEvent) override; - virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent) override; + virtual void SAL_CALL windowShown(const css::lang::EventObject& rEvent) override; - virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent) override; + virtual void SAL_CALL windowHidden(const css::lang::EventObject& rEvent) override; // XPaintListener - virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) override; + virtual void SAL_CALL windowPaint(const css::awt::PaintEvent& rEvent) override; private: css::uno::Reference<css::rendering::XSpriteCanvas> mxParentCanvas; std::shared_ptr<PresenterSprite> mpSprite; - virtual void CreateCanvases ( + virtual void CreateCanvases( const css::uno::Reference<css::rendering::XSpriteCanvas>& rxParentCanvas) override; void UpdateCanvases(); }; |