Commit 6814b65
committed
Added check of "writeMode" to write() method.
Added check of "writeMode" parameter to DcmFileFormat::write() method,
so that only a dataset (without meta header) is written if its value
is EWM_dataset, i.e. if requested by the caller. This behavior is now
consistent with the DcmFileFormat::saveFile() method.
Thanks to Mathieu Malaterre <mathieu.malaterre@gmail.com> for the
original report on this issue.1 parent b950427 commit 6814b65
2 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
479 | 478 | | |
480 | 479 | | |
481 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
846 | 852 | | |
847 | 853 | | |
848 | 854 | | |
| |||
1001 | 1007 | | |
1002 | 1008 | | |
1003 | 1009 | | |
| 1010 | + | |
1004 | 1011 | | |
1005 | 1012 | | |
1006 | 1013 | | |
| |||
0 commit comments