[Okular-devel] [okular] [Bug 345765] [OS X] okular crashing opening PDF from URL

Albert Astals Cid aacid at kde.org
Fri Apr 3 22:27:07 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=345765

--- Comment #12 from Albert Astals Cid <aacid at kde.org> ---
Right, dynamic_cast is not a C cast, it's a C++ cast.

No, it is not what you wrote, what you wrote is creating a new object, which is
not what dynamic_cast does, dynamic_cast just "changes" the pointer in run-time
to the target type if the source type can be converted to that type, which in
this case it should be as the debug output shows, but something in your runtime
thinks it can not, when it can.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list