From 8815acd18f8995cbbf45c2a70629379cb9bfbf15 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Thu, 31 May 2018 12:14:55 +0200 Subject: Make clang-format happy, remove vcl/unx/kde5 from blacklist just between us girls, I hate you clang-format Change-Id: I4cd041eff7a9fa01eb9192cf357e3f07a26fa6ad --- vcl/unx/kde5/KDE5SalData.cxx | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'vcl/unx/kde5/KDE5SalData.cxx') diff --git a/vcl/unx/kde5/KDE5SalData.cxx b/vcl/unx/kde5/KDE5SalData.cxx index 1b0e2071770b..587bf021410b 100644 --- a/vcl/unx/kde5/KDE5SalData.cxx +++ b/vcl/unx/kde5/KDE5SalData.cxx @@ -24,18 +24,16 @@ #include "KDE5SalData.hxx" -KDE5SalData::KDE5SalData( SalInstance *pInstance ) - : Qt5Data( pInstance ) +KDE5SalData::KDE5SalData(SalInstance* pInstance) + : Qt5Data(pInstance) { } -KDE5SalData::~KDE5SalData() -{ -} +KDE5SalData::~KDE5SalData() {} void KDE5SalData::initNWF() { - ImplSVData *pSVData = ImplGetSVData(); + ImplSVData* pSVData = ImplGetSVData(); // draw toolbars on separate lines pSVData->maNWFData.mbDockingAreaSeparateTB = true; @@ -48,13 +46,11 @@ void KDE5SalData::initNWF() pSVData->maNWFData.mbNoFocusRectsForFlatButtons = true; // Styled menus need additional space - QStyle *style = QApplication::style(); - pSVData->maNWFData.mnMenuFormatBorderX = - style->pixelMetric( QStyle::PM_MenuPanelWidth ) + - style->pixelMetric( QStyle::PM_MenuHMargin ); - pSVData->maNWFData.mnMenuFormatBorderY = - style->pixelMetric( QStyle::PM_MenuPanelWidth ) + - style->pixelMetric( QStyle::PM_MenuVMargin ); + QStyle* style = QApplication::style(); + pSVData->maNWFData.mnMenuFormatBorderX = style->pixelMetric(QStyle::PM_MenuPanelWidth) + + style->pixelMetric(QStyle::PM_MenuHMargin); + pSVData->maNWFData.mnMenuFormatBorderY = style->pixelMetric(QStyle::PM_MenuPanelWidth) + + style->pixelMetric(QStyle::PM_MenuVMargin); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit