]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Minor corrections rnv/disable_homard_win
authorrnv <rnv@opencascade.com>
Fri, 21 Jan 2022 08:51:07 +0000 (11:51 +0300)
committerrnv <rnv@opencascade.com>
Fri, 21 Jan 2022 08:51:07 +0000 (11:51 +0300)
src/SMESHGUI/SMESHGUI.cxx

index 424fdf9e9ccee8b5da388bc55742d9a665313c84..46261a995601c9b0fccb6da0dadd92d9343f4788 100644 (file)
@@ -4337,7 +4337,7 @@ void SMESHGUI::initialize( CAM_Application* app )
       meshId    = createMenu( tr( "MEN_MESH" ),    -1, 70, 10 ),
       ctrlId    = createMenu( tr( "MEN_CTRL" ),    -1, 60, 10 ),
       modifyId  = createMenu( tr( "MEN_MODIFY" ),  -1, 40, 10 ),
-#if not defined(DISABLE_MG_ADAPT) or not defined(DISABLE_HOMARD_ADAPT)
+#if !defined(DISABLE_MG_ADAPT) || !defined(DISABLE_HOMARD_ADAPT)
       adaptId   = createMenu( tr( "MEN_ADAPT" ),   -1, 80, 10 ),
 #endif
       measureId = createMenu( tr( "MEN_MEASURE" ), -1, 50, 10 ),
@@ -4663,7 +4663,7 @@ void SMESHGUI::initialize( CAM_Application* app )
   createTool( SMESHOp::OpPatternMapping,         modifyTb );
 
   // Adaptation - begin
-#if not defined(DISABLE_MG_ADAPT) or not defined(DISABLE_HOMARD_ADAPT)
+#if !defined(DISABLE_MG_ADAPT) || !defined(DISABLE_HOMARD_ADAPT)
   int adaptTb = createTool( tr( "TB_ADAPTATION" ), QString( "SMESHAdaptationToolbar" ) ) ;
 #endif
 #ifndef DISABLE_MG_ADAPT