diff --git a/src/Gui/AutoSaver.cpp b/src/Gui/AutoSaver.cpp index 30f885a9d..98f020ee6 100644 --- a/src/Gui/AutoSaver.cpp +++ b/src/Gui/AutoSaver.cpp @@ -312,7 +312,7 @@ public: writer.setModes(modes); // always force binary format because ASCII // is not reentrant. See PropertyPartShape::SaveDocFile - write.setMode("BinaryBrep"); + writer.setMode("BinaryBrep"); writer.putNextEntry(file); } virtual ~RecoveryRunnable()