From 4b0584800105b08146769013bb14d566c664ad6c Mon Sep 17 00:00:00 2001 From: snn Date: Mon, 17 Apr 2017 11:30:52 +0300 Subject: [PATCH] 0028564: Support of applications using old persistence (ShapeSchema) * typo correction * set default driver for writing command --- src/DDocStd/DDocStd_ShapeSchemaCommands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5