[Libreoffice-commits] online.git: common/Unit.hpp

Tor Lillqvist tml at collabora.com
Mon Jan 16 11:07:40 UTC 2017


 common/Unit.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 79e08f3de2f004024c42d694a9341df7cb0f35e4
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Jan 16 12:59:03 2017 +0200

    Drop parameter that always was defaulted anyway
    
    Change-Id: I6eee99db120e8a4aeb0e27586390bdc1bad9e219

diff --git a/common/Unit.hpp b/common/Unit.hpp
index 6e8ea28..df740ed 100644
--- a/common/Unit.hpp
+++ b/common/Unit.hpp
@@ -143,7 +143,7 @@ public:
     /// Do we have hooks for the Kit too
     bool hasKitHooks() { return _hasKitHooks; }
     /// set in your unit if you want to be injected into the kit too.
-    void setHasKitHooks(bool hasHooks = true) { _hasKitHooks = hasHooks; }
+    void setHasKitHooks() { _hasKitHooks = true; }
 
     // ---------------- WSD hooks ----------------
 


More information about the Libreoffice-commits mailing list