vcl/osx/clipboard.hxx | 4 ++-- vcl/osx/service_entry.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 479a93f6a3a9844688e676acdb9bef557f8c5210 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu May 23 18:43:16 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu May 23 19:48:58 2019 +0300 Drop default values for parameters that are defaulted only once Seriously, such default values only serve to confuse the code reader. Change-Id: I478442514baac3159ea0ae20132222ae58b38b8c diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx index ca106691fa0b..2bfbd6cf678d 100644 --- a/vcl/osx/clipboard.hxx +++ b/vcl/osx/clipboard.hxx @@ -78,8 +78,8 @@ public: system clipboard will be created (bUseSystemClipboard == true) or if the DragPasteboard if bUseSystemClipboard == false */ - AquaClipboard(NSPasteboard* pasteboard = nullptr, - bool bUseSystemClipboard = true); + AquaClipboard(NSPasteboard* pasteboard, + bool bUseSystemClipboard); virtual ~AquaClipboard() override; AquaClipboard(const AquaClipboard&) = delete; diff --git a/vcl/osx/service_entry.cxx b/vcl/osx/service_entry.cxx index 50f8498c2f63..eebb675ce9d2 100644 --- a/vcl/osx/service_entry.cxx +++ b/vcl/osx/service_entry.cxx @@ -41,7 +41,7 @@ uno::Reference< XInterface > AquaSalInstance::CreateClipboard( const Sequence< A SalData* pSalData = GetSalData(); if( ! pSalData->mxClipboard.is() ) - pSalData->mxClipboard.set(static_cast< XClipboard* >(new AquaClipboard()), UNO_QUERY); + pSalData->mxClipboard.set(static_cast< XClipboard* >(new AquaClipboard(nullptr, true)), UNO_QUERY); return pSalData->mxClipboard; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits