summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/osx/HtmlFmtFlt.cxx2
-rw-r--r--vcl/osx/salframe.cxx2
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 )
{