From: rkv Date: Mon, 28 Jan 2013 08:36:25 +0000 (+0000) Subject: Don't change file format when adding it as a new document version. X-Git-Tag: Root_Delivery2_2013_04_22~161 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c289c2020df7e38c83c388ec670becd83a45c08c;p=tools%2Fsiman.git Don't change file format when adding it as a new document version. --- diff --git a/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java b/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java index 6a10e4c..f5d5c40 100644 --- a/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java +++ b/Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java @@ -381,9 +381,9 @@ public class StepServiceImpl implements StepService { } if (newFormat != null - && previous.getType().equals( + /*&& previous.getType().equals( getProjectSettings().getDefaultDocumentType( - aStep.getStep(), newFormat))) { + aStep.getStep(), newFormat))*/) { dprop.setFormat(newFormat); }