Salome HOME
updated copyright message
[modules/gui.git] / src / DDS / DDS_Dictionary.cxx
index 079bb46475c70597bfae8df9b2532b8984bab576..da5a751ee44cb377dbaf531669c3ea113664af82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -267,6 +267,7 @@ DDS_Dictionary::DDS_Dictionary()
   \brief Copy constructor (put in private section to prevent object copying).
 */
 DDS_Dictionary::DDS_Dictionary( const DDS_Dictionary& )
+: Standard_Transient()
 {
 }
 
@@ -555,7 +556,7 @@ Standard_Real DDS_Dictionary::ToSI( const Standard_Real theValue, const Standard
       OCC_CATCH_SIGNALS;
       aRetValue = UnitsAPI::AnyToSI( theValue, theUnits );
     }
-    catch( Standard_Failure ) {
+    catch( Standard_Failure& ) {
     }
   }
   else if ( theUnits && *theUnits )
@@ -580,7 +581,7 @@ Standard_Real DDS_Dictionary::FromSI( const Standard_Real theValue, const Standa
       OCC_CATCH_SIGNALS;
       aRetValue = UnitsAPI::AnyFromSI( theValue, theUnits );
     }
-    catch( Standard_Failure ) {
+    catch( Standard_Failure& ) {
     }
   }
   else if ( theUnits && *theUnits )