Itseez/opencv — pull request #87 by jet47 (2012-10-23 11:37:37+00:00)
Title: fixed string->string conversion in CommandLineParser

Current implementation of CommandLineParser doesn't support string parameters with spaces.
For example,
```
.\sample "/home/user/Some Images/img.jpg"
```
```C++
CommanLineParser cmd(argc, argv, "{%0 | | }");
string param = cmd.get(0, false);
//assert(param == "/home/user/Some Images/img.jpg"); // it should be, but
assert(param == "/home/user/Some");
```
That happens, because ```stringstream::operator>>``` is used to convert from string to string. This operator reads a line up to the first whitespace character.
This fix changes string->string conversion to simple assignment.