vcl/osx/HtmlFmtFlt.cxx | 2 +- vcl/osx/salframe.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit cead2273b0d07e32b4e6fc7a2f11a0dd216847dc Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Dec 6 14:21:04 2018 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Dec 6 14:21:04 2018 +0100 loplugin:unnecessaryparen Change-Id: Id951b94240b487f8c8cc3f612906d4b2e0bfd76d 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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits