summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/event.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:16:29 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 19:28:27 +0100
commit156da5b55362db37d4e61a22e43e489e48797452 (patch)
treea41a09cd175634ee7d07a8ea2d67a1dd7b297101 /slideshow/source/inc/event.hxx
parent15d080d2ca19891187a547f66d77183ebed0811b (diff)
tdf#123936 Formatting files in module slideshow with clang-format
Change-Id: I108be5e01ed319f42912a6762ebceb97795113ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105708 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'slideshow/source/inc/event.hxx')
-rw-r--r--slideshow/source/inc/event.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/slideshow/source/inc/event.hxx b/slideshow/source/inc/event.hxx
index c60ba20f80a9..9377bc9d7f25 100644
--- a/slideshow/source/inc/event.hxx
+++ b/slideshow/source/inc/event.hxx
@@ -24,14 +24,17 @@
#include <memory>
#include <vector>
-namespace slideshow::internal {
-
+namespace slideshow::internal
+{
/** Definition of Event interface
*/
class Event : public Disposable
{
public:
- Event (const OUString& rsDescription) : msDescription(rsDescription) {}
+ Event(const OUString& rsDescription)
+ : msDescription(rsDescription)
+ {
+ }
/** Execute the event.
@@ -61,7 +64,7 @@ public:
@return the time instant in seconds, on which this
event is to be fired.
*/
- virtual double getActivationTime( double nCurrentTime ) const = 0;
+ virtual double getActivationTime(double nCurrentTime) const = 0;
const OUString& GetDescription() const { return msDescription; }
@@ -69,8 +72,8 @@ private:
const OUString msDescription;
};
-typedef ::std::shared_ptr< Event > EventSharedPtr;
-typedef ::std::vector< EventSharedPtr > VectorOfEvents;
+typedef ::std::shared_ptr<Event> EventSharedPtr;
+typedef ::std::vector<EventSharedPtr> VectorOfEvents;
} // namespace presentation::internal