From: snn Date: Mon, 17 Apr 2017 08:30:52 +0000 (+0300) Subject: 0028564: Support of applications using old persistence (ShapeSchema) X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=4b0584800105b08146769013bb14d566c664ad6c;p=occt-copy.git 0028564: Support of applications using old persistence (ShapeSchema) * typo correction * set default driver for writing command --- diff --git a/src/DDocStd/DDocStd_ShapeSchemaCommands.cxx b/src/DDocStd/DDocStd_ShapeSchemaCommands.cxx index 8bdca39208..33ca88fae2 100644 --- a/src/DDocStd/DDocStd_ShapeSchemaCommands.cxx +++ b/src/DDocStd/DDocStd_ShapeSchemaCommands.cxx @@ -42,7 +42,7 @@ static Standard_Integer DDocStd_ShapeSchema_Write(Draw_Interpretor& di, return 1; } - NCollection_Handle aFileDriver; + NCollection_Handle aFileDriver(new FSD_File); Standard_Boolean hasStorageDriver = Standard_False; Standard_Integer iArgN = n - 1; @@ -192,7 +192,7 @@ static Standard_Integer DDocStd_ShapeSchema_Read(Draw_Interpretor& di, aShapes.Append(aShape); } - di << "Info : " << aShapes.Length() << " shape(s) transleted\n"; + di << "Info : " << aShapes.Length() << " shape(s) translated\n"; if (aShapes.Length() > 1) {