From: tma Date: Mon, 9 Sep 2019 11:36:22 +0000 (+0300) Subject: 0030957: Assembly item Id should not start with '/' symbol X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7b296f0230424dc7a61ca0df12a68d25781a3943;p=occt-copy.git 0030957: Assembly item Id should not start with '/' symbol (cherry picked from commit 71b4fb4b10d050440971ca12af6d25e8989ec8ba) --- diff --git a/src/XCAFDoc/XCAFDoc_AssemblyItemId.cxx b/src/XCAFDoc/XCAFDoc_AssemblyItemId.cxx index 29984514ca..032ce30e82 100644 --- a/src/XCAFDoc/XCAFDoc_AssemblyItemId.cxx +++ b/src/XCAFDoc/XCAFDoc_AssemblyItemId.cxx @@ -119,5 +119,6 @@ XCAFDoc_AssemblyItemId::ToString() const aStr += '/'; aStr += anIt.Value(); } + aStr.Remove(1, 1); return aStr; }