Skip to content

Commit

Permalink
Merge pull request #41 from tpaviot/review/all-warning-fixes
Browse files Browse the repository at this point in the history
Review/all warning fixes
  • Loading branch information
QbProg committed Jun 14, 2011
2 parents d4a2fa5 + f605499 commit 5e184f9
Show file tree
Hide file tree
Showing 286 changed files with 573 additions and 1,864 deletions.
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PCDM_Document.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PCDM_Document::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PCDM_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PCDM_Document::Write(const Handle(Standard_Persistent)& p, Stor
void ShapeSchema_PCDM_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom2d_BoundedCurve::Add(const Handle(Standard_Persistent)& p,
void ShapeSchema_PGeom2d_BoundedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_BoundedCurve) &pp = (Handle(PGeom2d_BoundedCurve)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom2d_BoundedCurve::Write(const Handle(Standard_Persistent)&
void ShapeSchema_PGeom2d_BoundedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_BoundedCurve) &pp = (Handle(PGeom2d_BoundedCurve)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
2 changes: 0 additions & 2 deletions drv/ShapeSchema/ShapeSchema_PGeom2d_Curve.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom2d_Curve::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PGeom2d_Curve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Curve) &pp = (Handle(PGeom2d_Curve)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,7 +55,6 @@ void ShapeSchema_PGeom2d_Curve::Write(const Handle(Standard_Persistent)& p, Stor
void ShapeSchema_PGeom2d_Curve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Curve) &pp = (Handle(PGeom2d_Curve)&)p;

theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();
Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom2d_Geometry.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom2d_Geometry::Add(const Handle(Standard_Persistent)& p, con
void ShapeSchema_PGeom2d_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Geometry) &pp = (Handle(PGeom2d_Geometry)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom2d_Geometry::Write(const Handle(Standard_Persistent)& p, S
void ShapeSchema_PGeom2d_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Geometry) &pp = (Handle(PGeom2d_Geometry)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom2d_Point.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom2d_Point::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PGeom2d_Point::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Point) &pp = (Handle(PGeom2d_Point)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom2d_Point::Write(const Handle(Standard_Persistent)& p, Stor
void ShapeSchema_PGeom2d_Point::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom2d_Point) &pp = (Handle(PGeom2d_Point)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
2 changes: 0 additions & 2 deletions drv/ShapeSchema/ShapeSchema_PGeom_BoundedCurve.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_BoundedCurve::Add(const Handle(Standard_Persistent)& p, c
void ShapeSchema_PGeom_BoundedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_BoundedCurve) &pp = (Handle(PGeom_BoundedCurve)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,7 +55,6 @@ void ShapeSchema_PGeom_BoundedCurve::Write(const Handle(Standard_Persistent)& p,
void ShapeSchema_PGeom_BoundedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_BoundedCurve) &pp = (Handle(PGeom_BoundedCurve)&)p;

theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();
Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom_BoundedSurface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_BoundedSurface::Add(const Handle(Standard_Persistent)& p,
void ShapeSchema_PGeom_BoundedSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_BoundedSurface) &pp = (Handle(PGeom_BoundedSurface)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom_BoundedSurface::Write(const Handle(Standard_Persistent)&
void ShapeSchema_PGeom_BoundedSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_BoundedSurface) &pp = (Handle(PGeom_BoundedSurface)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom_Curve.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_Curve::Add(const Handle(Standard_Persistent)& p, const Ha
void ShapeSchema_PGeom_Curve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Curve) &pp = (Handle(PGeom_Curve)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom_Curve::Write(const Handle(Standard_Persistent)& p, Storag
void ShapeSchema_PGeom_Curve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Curve) &pp = (Handle(PGeom_Curve)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom_Geometry.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_Geometry::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PGeom_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Geometry) &pp = (Handle(PGeom_Geometry)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom_Geometry::Write(const Handle(Standard_Persistent)& p, Sto
void ShapeSchema_PGeom_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Geometry) &pp = (Handle(PGeom_Geometry)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom_Point.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_Point::Add(const Handle(Standard_Persistent)& p, const Ha
void ShapeSchema_PGeom_Point::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Point) &pp = (Handle(PGeom_Point)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom_Point::Write(const Handle(Standard_Persistent)& p, Storag
void ShapeSchema_PGeom_Point::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Point) &pp = (Handle(PGeom_Point)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PGeom_Surface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PGeom_Surface::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PGeom_Surface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Surface) &pp = (Handle(PGeom_Surface)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PGeom_Surface::Write(const Handle(Standard_Persistent)& p, Stor
void ShapeSchema_PGeom_Surface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PGeom_Surface) &pp = (Handle(PGeom_Surface)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_PMMgt_PManaged.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_PMMgt_PManaged::Add(const Handle(Standard_Persistent)& p, const
void ShapeSchema_PMMgt_PManaged::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_PMMgt_PManaged::Write(const Handle(Standard_Persistent)& p, Sto
void ShapeSchema_PMMgt_PManaged::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/ShapeSchema/ShapeSchema_Standard_Persistent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ShapeSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p,
void ShapeSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void ShapeSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p
void ShapeSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_PCDM_Document.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void StdLSchema_PCDM_Document::Add(const Handle(Standard_Persistent)& p, const H
void StdLSchema_PCDM_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void StdLSchema_PCDM_Document::Write(const Handle(Standard_Persistent)& p, Stora
void StdLSchema_PCDM_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_PDF_Attribute.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void StdLSchema_PDF_Attribute::Add(const Handle(Standard_Persistent)& p, const H
void StdLSchema_PDF_Attribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void StdLSchema_PDF_Attribute::Write(const Handle(Standard_Persistent)& p, Stora
void StdLSchema_PDF_Attribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_PDataStd_Directory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void StdLSchema_PDataStd_Directory::Add(const Handle(Standard_Persistent)& p, co
void StdLSchema_PDataStd_Directory::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_Directory) &pp = (Handle(PDataStd_Directory)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -55,8 +54,7 @@ void StdLSchema_PDataStd_Directory::Write(const Handle(Standard_Persistent)& p,
void StdLSchema_PDataStd_Directory::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_Directory) &pp = (Handle(PDataStd_Directory)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_PDataStd_NoteBook.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void StdLSchema_PDataStd_NoteBook::Add(const Handle(Standard_Persistent)& p, con
void StdLSchema_PDataStd_NoteBook::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_NoteBook) &pp = (Handle(PDataStd_NoteBook)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -55,8 +54,7 @@ void StdLSchema_PDataStd_NoteBook::Write(const Handle(Standard_Persistent)& p, S
void StdLSchema_PDataStd_NoteBook::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_NoteBook) &pp = (Handle(PDataStd_NoteBook)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_PDataStd_Tick.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void StdLSchema_PDataStd_Tick::Add(const Handle(Standard_Persistent)& p, const H
void StdLSchema_PDataStd_Tick::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_Tick) &pp = (Handle(PDataStd_Tick)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -55,8 +54,7 @@ void StdLSchema_PDataStd_Tick::Write(const Handle(Standard_Persistent)& p, Stora
void StdLSchema_PDataStd_Tick::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataStd_Tick) &pp = (Handle(PDataStd_Tick)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdLSchema/StdLSchema_Standard_Persistent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void StdLSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p, c
void StdLSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,8 +55,7 @@ void StdLSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p,
void StdLSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
2 changes: 0 additions & 2 deletions drv/StdSchema/StdSchema_PDF_Attribute.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void StdSchema_PDF_Attribute::Add(const Handle(Standard_Persistent)& p, const Ha
void StdSchema_PDF_Attribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -56,7 +55,6 @@ void StdSchema_PDF_Attribute::Write(const Handle(Standard_Persistent)& p, Storag
void StdSchema_PDF_Attribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p;

theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();
Expand Down
4 changes: 1 addition & 3 deletions drv/StdSchema/StdSchema_PDataXtd_Axis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void StdSchema_PDataXtd_Axis::Add(const Handle(Standard_Persistent)& p, const Ha
void StdSchema_PDataXtd_Axis::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataXtd_Axis) &pp = (Handle(PDataXtd_Axis)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -55,8 +54,7 @@ void StdSchema_PDataXtd_Axis::Write(const Handle(Standard_Persistent)& p, Storag
void StdSchema_PDataXtd_Axis::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataXtd_Axis) &pp = (Handle(PDataXtd_Axis)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
4 changes: 1 addition & 3 deletions drv/StdSchema/StdSchema_PDataXtd_Placement.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void StdSchema_PDataXtd_Placement::Add(const Handle(Standard_Persistent)& p, con
void StdSchema_PDataXtd_Placement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataXtd_Placement) &pp = (Handle(PDataXtd_Placement)&)p;
theSchema->WritePersistentObjectHeader(p,f);

f.BeginWritePersistentObjectData();
Expand All @@ -55,8 +54,7 @@ void StdSchema_PDataXtd_Placement::Write(const Handle(Standard_Persistent)& p, S
void StdSchema_PDataXtd_Placement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PDataXtd_Placement) &pp = (Handle(PDataXtd_Placement)&)p;


theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();

Expand Down
Loading

0 comments on commit 5e184f9

Please sign in to comment.