vcl/source/control/hyperlabel.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit db83a93b7349e94b9658558e0a8ca4e9f7700a99
Author:     Christopher Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Mon Dec 23 17:46:08 2024 +1100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Feb 17 08:38:06 2025 +0100

    vcl: remove unnecessary parentheses
    
    Change-Id: I76612bb87e4fc95219e95da72357ee123fb273ea
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179194
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Tested-by: Jenkins

diff --git a/vcl/source/control/hyperlabel.cxx 
b/vcl/source/control/hyperlabel.cxx
index 525fe34da54f..5d7a642dbd89 100644
--- a/vcl/source/control/hyperlabel.cxx
+++ b/vcl/source/control/hyperlabel.cxx
@@ -154,9 +154,9 @@ namespace vcl
     {
         FixedText::DataChanged( rDCEvt );
 
-        if ((( rDCEvt.GetType() == DataChangedEventType::SETTINGS )   ||
-            ( rDCEvt.GetType() == DataChangedEventType::DISPLAY   ))  &&
-            ( rDCEvt.GetFlags() & AllSettingsFlags::STYLE        ))
+        if ((rDCEvt.GetType() == DataChangedEventType::SETTINGS
+             || rDCEvt.GetType() == DataChangedEventType::DISPLAY)
+            && rDCEvt.GetFlags() & AllSettingsFlags::STYLE)
         {
             const StyleSettings& rStyleSettings = 
GetSettings().GetStyleSettings();
             if (GetControlBackground() != COL_TRANSPARENT)

Reply via email to