summaryrefslogtreecommitdiff
path: root/starmath/inc/edit.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:17:39 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:18:54 +0100
commit0108cd51faf942b3fc3a292522d4b2f421f1cf45 (patch)
tree21ae8a784a759acd24f985d8544f54d28ef6f054 /starmath/inc/edit.hxx
parent2184efed3943fe9634e6e361e8b0306a374cbf59 (diff)
tdf#123936 Formatting files in module starmath with clang-format
Change-Id: I2b9e466d18ffd8033e5225d698b2dd0055e6fab7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105711 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'starmath/inc/edit.hxx')
-rw-r--r--starmath/inc/edit.hxx28
1 files changed, 15 insertions, 13 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 421554834314..300a414d382b 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -38,9 +38,12 @@ class SmEditAccessible;
class CommandEvent;
class Timer;
-namespace svtools { class ColorConfig; }
+namespace svtools
+{
+class ColorConfig;
+}
-void SmGetLeftSelectionPart(const ESelection &rSelection, sal_Int32 &nPara, sal_uInt16 &nPos);
+void SmGetLeftSelectionPart(const ESelection& rSelection, sal_Int32& nPara, sal_uInt16& nPos);
class SmEditWindow final : public vcl::Window, public DropTargetHelper
{
@@ -58,22 +61,22 @@ class SmEditWindow final : public vcl::Window, public DropTargetHelper
virtual void KeyInput(const KeyEvent& rKEvt) override;
virtual void Command(const CommandEvent& rCEvt) override;
- DECL_LINK(ModifyTimerHdl, Timer *, void);
- DECL_LINK(CursorMoveTimerHdl, Timer *, void);
+ DECL_LINK(ModifyTimerHdl, Timer*, void);
+ DECL_LINK(CursorMoveTimerHdl, Timer*, void);
virtual void ApplySettings(vcl::RenderContext&) override;
- virtual void DataChanged( const DataChangedEvent& ) override;
+ virtual void DataChanged(const DataChangedEvent&) override;
virtual void Resize() override;
- virtual void MouseMove(const MouseEvent &rEvt) override;
- virtual void MouseButtonUp(const MouseEvent &rEvt) override;
- virtual void MouseButtonDown(const MouseEvent &rEvt) override;
+ virtual void MouseMove(const MouseEvent& rEvt) override;
+ virtual void MouseButtonUp(const MouseEvent& rEvt) override;
+ virtual void MouseButtonDown(const MouseEvent& rEvt) override;
virtual OUString GetSurroundingText() const override;
virtual Selection GetSurroundingTextSelection() const override;
virtual bool DeleteSurroundingText(const Selection& rSelection) override;
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override;
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override;
+ virtual sal_Int8 AcceptDrop(const AcceptDropEvent& rEvt) override;
+ virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent& rEvt) override;
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) override;
DECL_LINK(EditStatusHdl, EditStatus&, void);
@@ -114,10 +117,10 @@ public:
void Delete();
void SelectAll();
void InsertText(const OUString& rText);
- void MarkError(const Point &rPos);
+ void MarkError(const Point& rPos);
void SelNextMark();
void SelPrevMark();
- static bool HasMark(const OUString &rText);
+ static bool HasMark(const OUString& rText);
void Flush() override;
void DeleteEditView();
@@ -132,7 +135,6 @@ public:
using Window::GetAccessible;
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */