occt: master a1530ab1

Author Committer Branch Timestamp Parent
BenjaminBihler bugmaster master 2016-04-28 11:18:35 master c59fcd11
Affected Issues  0027433: Opening/Saving OCAF Documents With Own Document Format Does Not Work
Changeset 0027433: Opening/Saving OCAF Documents With Own Document Format Does Not Work

Modified Load(...) method of Resource_Manager.cxx to print file names correctly.

Removed appending (empty) file name to directory name, since this is not
necessary and leads to a Standard_OutOfRange failure in TCollection_AsciiString.

Appending file name is done, but only if the name is not empty.

Added test case
mod - src/Resource/Resource_Manager.cxx Diff File
add - tests/bugs/caf/bug27433 Diff File