[Libreoffice-commits] core.git: sdext/source
Stephan Bergmann
sbergman at redhat.com
Wed Jan 3 15:48:11 UTC 2018
sdext/source/presenter/PresenterTimer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e36a36bdc4a081c4b5b1a427ce626eb90acbcc82
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jan 3 15:01:53 2018 +0100
Silence loplugin:unreffun with --disable-assert-always-abort
Change-Id: I1b5a7a6aa2436aa5b8297d5de172035cff3f1306
Reviewed-on: https://gerrit.libreoffice.org/47318
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index eb85119c6bc6..3bd1f9ab9977 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -96,7 +96,9 @@ public:
const TimeValue& rTimeValue);
static void NotifyTermination();
+#if !defined NDEBUG
static bool HasInstance() { return mpInstance != nullptr; }
+#endif
private:
static std::shared_ptr<TimerScheduler> mpInstance;
More information about the Libreoffice-commits
mailing list