diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-06 14:21:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-06 14:21:04 +0100 |
commit | cead2273b0d07e32b4e6fc7a2f11a0dd216847dc (patch) | |
tree | 8c13d30636ad9e0a2d9a0613f80437df91fc2d7c /vcl/osx | |
parent | b301dcc711636533d0d8dade7fbb1decb058e18b (diff) |
loplugin:unnecessaryparen
Change-Id: Id951b94240b487f8c8cc3f612906d4b2e0bfd76d
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/HtmlFmtFlt.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/salframe.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat) can improve this */ const char HtmlFormatStart[] = "Version:"; -int const HtmlFormatStartLen = (sizeof(HtmlFormatStart) - 1); +int const HtmlFormatStartLen = sizeof(HtmlFormatStart) - 1; bool isHTMLFormat(const Sequence<sal_Int8>& 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 ) { |