Salome HOME
Updated copyright comment
[modules/gui.git] / src / DDS / DDS_Dictionary.cxx
index b26dc1e6d9203c48628028180b9ad7f0a01bef58..65dbe9a7c80bdde151a9a2d659da504f16b714a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  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
@@ -38,7 +38,7 @@
 #include <Standard_Failure.hxx>
 #include <Standard_ErrorHandler.hxx>
 
-OCCT_IMPLEMENT_STANDARD_RTTIEXT(DDS_Dictionary, MMgt_TShared)
+IMPLEMENT_STANDARD_RTTIEXT(DDS_Dictionary, Standard_Transient)
 
 Handle(DDS_Dictionary) DDS_Dictionary::myDictionary = Handle(DDS_Dictionary)();
 
@@ -259,7 +259,7 @@ Handle(DDS_Dictionary) DDS_Dictionary::myDictionary = Handle(DDS_Dictionary)();
   Use Get() method instead.
 */
 DDS_Dictionary::DDS_Dictionary()
-: MMgt_TShared()
+: Standard_Transient()
 {
 }
 
@@ -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 )