From cead2273b0d07e32b4e6fc7a2f11a0dd216847dc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 6 Dec 2018 14:21:04 +0100 Subject: loplugin:unnecessaryparen Change-Id: Id951b94240b487f8c8cc3f612906d4b2e0bfd76d --- vcl/osx/HtmlFmtFlt.cxx | 2 +- vcl/osx/salframe.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/osx') diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx index 1cd679c2e8d3..6661d0e6fdde 100644 --- a/vcl/osx/HtmlFmtFlt.cxx +++ b/vcl/osx/HtmlFmtFlt.cxx @@ -149,7 +149,7 @@ Sequence HTMLFormatToTextHtml(const Sequence& aHTMLFormat) can improve this */ const char HtmlFormatStart[] = "Version:"; -int const HtmlFormatStartLen = (sizeof(HtmlFormatStart) - 1); +int const HtmlFormatStartLen = sizeof(HtmlFormatStart) - 1; bool isHTMLFormat(const Sequence& aHtmlSequence) { diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 2a8eeb0b0af1..3a6cabbc41d2 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -321,7 +321,7 @@ void AquaSalFrame::SetTitle(const OUString& rTitle) [mpNSWindow setTitle: pTitle]; // create an entry in the dock menu - const SalFrameStyleFlags nAppWindowStyle = (SalFrameStyleFlags::CLOSEABLE | SalFrameStyleFlags::MOVEABLE); + const SalFrameStyleFlags nAppWindowStyle = SalFrameStyleFlags::CLOSEABLE | SalFrameStyleFlags::MOVEABLE; if( mpParent == nullptr && (mnStyle & nAppWindowStyle) == nAppWindowStyle ) { -- cgit