Kaydet (Commit) cead2273 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unnecessaryparen

Change-Id: Id951b94240b487f8c8cc3f612906d4b2e0bfd76d
üst b301dcc7
...@@ -149,7 +149,7 @@ Sequence<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat) ...@@ -149,7 +149,7 @@ Sequence<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat)
can improve this can improve this
*/ */
const char HtmlFormatStart[] = "Version:"; const char HtmlFormatStart[] = "Version:";
int const HtmlFormatStartLen = (sizeof(HtmlFormatStart) - 1); int const HtmlFormatStartLen = sizeof(HtmlFormatStart) - 1;
bool isHTMLFormat(const Sequence<sal_Int8>& aHtmlSequence) bool isHTMLFormat(const Sequence<sal_Int8>& aHtmlSequence)
{ {
......
...@@ -321,7 +321,7 @@ void AquaSalFrame::SetTitle(const OUString& rTitle) ...@@ -321,7 +321,7 @@ void AquaSalFrame::SetTitle(const OUString& rTitle)
[mpNSWindow setTitle: pTitle]; [mpNSWindow setTitle: pTitle];
// create an entry in the dock menu // create an entry in the dock menu
const SalFrameStyleFlags nAppWindowStyle = (SalFrameStyleFlags::CLOSEABLE | SalFrameStyleFlags::MOVEABLE); const SalFrameStyleFlags nAppWindowStyle = SalFrameStyleFlags::CLOSEABLE | SalFrameStyleFlags::MOVEABLE;
if( mpParent == nullptr && if( mpParent == nullptr &&
(mnStyle & nAppWindowStyle) == nAppWindowStyle ) (mnStyle & nAppWindowStyle) == nAppWindowStyle )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment