[Libreoffice-commits] online.git: kit/Kit.cpp
Miklos Vajna
vmiklos at collabora.co.uk
Wed Sep 13 07:13:48 UTC 2017
kit/Kit.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 84e4ea2c3d352a9058aa43e030acf483043ecb06
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Sep 13 09:13:26 2017 +0200
Kit: pass by const reference and avoid redundant initializer
Change-Id: I550334ec9392121ff9084c35b5c8c6b410917080
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 63ebdbe1..1d1e700d 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -482,7 +482,7 @@ public:
class Watermark
{
public:
- Watermark(std::shared_ptr<lok::Document> loKitDoc, std::string text)
+ Watermark(const std::shared_ptr<lok::Document>& loKitDoc, const std::string& text)
: _loKitDoc(loKitDoc)
, _text(text)
, _font("Liberation Sans")
@@ -628,7 +628,6 @@ public:
_haveDocPassword(false),
_isDocPasswordProtected(false),
_docPasswordType(PasswordType::ToView),
- _docWatermark(),
_stop(false),
_isLoading(0),
_editorId(-1),
More information about the Libreoffice-commits
mailing list