sdext/source/presenter/PresenterTimer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e36a36bdc4a081c4b5b1a427ce626eb90acbcc82
Author: Stephan Bergmann <sberg...@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 <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to