From b7bffaa1a793009a5265018ddc6db84606a02468 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Tue, 19 Apr 2022 21:13:22 +0200 Subject: [PATCH] Formatted code --- test/cfg/wxwidgets.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp index 70c4bb253..229ce5384 100644 --- a/test/cfg/wxwidgets.cpp +++ b/test/cfg/wxwidgets.cpp @@ -44,30 +44,30 @@ bool duplicateBreak_wxLogApiError(const wxString &msg, const HRESULT &hr, wxStri void argDirection_wxString_ToDouble(const wxString &str) { - // No warning is expected. Ensure both arguments are treated - // as output by library configuration - double value; - const bool convOk = str.ToDouble(&value); - if(convOk && value <= 42.0){} + // No warning is expected. Ensure both arguments are treated + // as output by library configuration + double value; + const bool convOk = str.ToDouble(&value); + if (convOk && value <= 42.0) {} } void argDirection_wxString_ToCDouble(const wxString &str) { - // No warning is expected. Ensure both arguments are treated - // as output by library configuration - double value; - const bool convOk = str.ToCDouble(&value); - if(convOk && value <= 42.0){} + // No warning is expected. Ensure both arguments are treated + // as output by library configuration + double value; + const bool convOk = str.ToCDouble(&value); + if (convOk && value <= 42.0) {} } void argDirection_wxTextCtrl_GetSelection(const wxTextCtrl *const textCtrl) { - // No warning is expected. Ensure both arguments are treated - // as output by library configuration - long start; - long end; - textCtrl->GetSelection(&start, &end); - if(start > 0 && end > 0){} + // No warning is expected. Ensure both arguments are treated + // as output by library configuration + long start; + long end; + textCtrl->GetSelection(&start, &end); + if (start > 0 && end > 0) {} } void useRetval_wxString_MakeCapitalized(wxString &str)