summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-24 22:41:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-24 22:41:37 +0200
commit81892b2037453108b9bde1512a500cf3b2ce438a (patch)
tree0e5b8bee44ea9c46bcb2ef8f893632cad2c2499f /cui
parent24eeb4d286471e4a2103c15efc624a565112ca32 (diff)
loplugin:unnecessaryparen
...when compiling as C++17, so the ParenExpr is no longer hidden behind ExprWithCleanups/CXXConstructExpr/MaterializedTemporaryExpr wrappers. Change-Id: I81346edbef46cad72bf53a43f162a75d19b6c713
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/hltpbase.hxx2
-rw-r--r--cui/source/options/optgdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index b9d410f0a7cf..edf2546cf217 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -127,7 +127,7 @@ public:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
bool IsMarkWndVisible () { return static_cast<vcl::Window*>(mpMarkWnd)->IsVisible(); }
- Size GetSizeExtraWnd () { return ( mpMarkWnd->GetSizePixel() ); }
+ Size GetSizeExtraWnd () { return mpMarkWnd->GetSizePixel(); }
bool MoveToExtraWnd ( Point aNewPos, bool bDisConnectDlg = false );
using TabPage::ActivatePage;
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 94eb3931bc56..19489fecedca 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1754,7 +1754,7 @@ IMPL_LINK( OfaLanguagesTabPage, LocaleSettingHdl, ListBox&, rListBox, void )
}
const NfCurrencyEntry* pCurr = &SvNumberFormatter::GetCurrencyEntry(
- ((eLang == LANGUAGE_USER_SYSTEM_CONFIG) ? MsLangId::getSystemLanguage() : eLang));
+ (eLang == LANGUAGE_USER_SYSTEM_CONFIG) ? MsLangId::getSystemLanguage() : eLang);
sal_Int32 nPos = m_pCurrencyLB->GetEntryPos( nullptr );
if (pCurr)
{