| 85 | |
| 86 | template <typename SRC_T, typename DEST_T> |
| 87 | SRC_T _StringDummyConv(SRC_T sSrc, DEST_T &sDest, int iChars = -1) |
| 88 | { |
| 89 | if (!sSrc) |
| 90 | return NULL; |
| 91 | if (iChars >= 0) |
| 92 | sDest.SetString(sSrc, iChars); |
| 93 | else |
| 94 | sDest = sSrc; |
| 95 | return sDest; |
| 96 | } |
| 97 | |
| 98 | LPCWSTR _StringDummyConvW(LPCWSTR sSrc, CStringW &sDest, int iChars/* = -1*/) |
| 99 | { |
no outgoing calls
no test coverage detected