Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review/all warning fixes #41

Merged
merged 27 commits into from
Jun 14, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cd6ea2b
[warning-fix][unused-local-var]
tpaviot May 20, 2011
a3c988c
[warning-fix][declared-but-never-defined]
tpaviot May 23, 2011
6b97305
[warning-fix][defined-but-not-used]
tpaviot May 23, 2011
a907419
[warning-fix][label-not-used]
tpaviot May 24, 2011
b61e0e7
[warning-fix][format-type-mismatch]
tpaviot May 24, 2011
f68864c
[warning-fix][uninitialized-var]
tpaviot May 24, 2011
8da5342
[warning-fix][uninitialized-var]
tpaviot May 24, 2011
fa1f83f
[warning-fix][unused-local-var]
QbProg Jun 11, 2011
09cb472
[warning-fix][signed-unsigned-mismatch]
QbProg Jun 11, 2011
6eb4271
[warning-fix][deprecated-conversion-from-string]
QbProg Jun 11, 2011
bf55b6e
[warning-fix][uninitialized-var]
QbProg Jun 11, 2011
f67ae4b
[warning-fix][old_declarators]
QbProg Jun 11, 2011
ada0877
[warning-fix][uninitialized-var]
QbProg Jun 11, 2011
95fa795
[warning-fix][uninitialized-var]
QbProg Jun 11, 2011
f29a2b1
[warning-fix][implicit-conversion-from-wider-type]
QbProg Jun 11, 2011
388e4f8
[warning-fix][assignment-in-conditional-expression]
QbProg Jun 11, 2011
db247b2
[warning-fix][unused-local-var]
QbProg Jun 11, 2011
08cd61c
[warning-fix][unreachable-code]
QbProg Jun 11, 2011
68e8f9a
Fixed or marked some bugs thanks to warning messages.
QbProg Jun 11, 2011
56fc873
[warning-fix][unused-function]
QbProg Jun 11, 2011
fbdee81
Fixed pourSGI improper initialization (causing different behavoir fro…
QbProg Jun 13, 2011
c857b73
[warning-fix][uninitialized-var]
QbProg Jun 12, 2011
6df1ed0
[warning-fix][unreachable-code]
QbProg Jun 12, 2011
3ea11f9
[warning-fix][implicit-conversion-from-wider-type]
QbProg Jun 12, 2011
edd02e9
[warning-fix][assignment-in-conditional-expression]
QbProg Jun 12, 2011
3ef9908
Forgot to revert a pourSGI change
QbProg Jun 13, 2011
f605499
Another small fix
QbProg Jun 13, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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