mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023459: Update QT samples
Removing Qt3Support layer of Qt 4 Changed all files for Qt4 and added file VoxelDemo.pro Removed 'static' before the declaration of handling FSD_File.
This commit is contained in:
@@ -481,7 +481,7 @@ Handle(TopTools_HSequenceOfShape) Translate::importCSFDB( const QString& file )
|
||||
if ( FSD_File::IsGoodFileType( (Standard_CString)file.toLatin1().constData() ) != Storage_VSOk )
|
||||
return aSequence;
|
||||
|
||||
static FSD_File fileDriver;
|
||||
FSD_File fileDriver;
|
||||
TCollection_AsciiString aName( (Standard_CString)file.toLatin1().constData() );
|
||||
if ( fileDriver.Open( aName, Storage_VSRead ) != Storage_VSOk )
|
||||
return aSequence;
|
||||
@@ -591,7 +591,7 @@ bool Translate::exportCSFDB( const QString& file, const Handle(TopTools_HSequenc
|
||||
if ( type < 0 )
|
||||
return false;
|
||||
|
||||
static FSD_File fileDriver;
|
||||
FSD_File fileDriver;
|
||||
|
||||
Handle(ShapeSchema) schema = new ShapeSchema();
|
||||
Handle(Storage_Data) data = new Storage_Data();
|
||||
|
Reference in New Issue
Block a user