|
Line 0
Link Here
|
|
|
1 |
--- glib/poppler-action.cc.orig 2020-03-01 19:52:52 UTC |
| 2 |
+++ glib/poppler-action.cc |
| 3 |
@@ -627,39 +627,39 @@ _poppler_action_new (PopplerDocument *document, |
| 4 |
switch (link->getKind ()) { |
| 5 |
case actionGoTo: |
| 6 |
action->type = POPPLER_ACTION_GOTO_DEST; |
| 7 |
- build_goto_dest (document, action, dynamic_cast <const LinkGoTo *> (link)); |
| 8 |
+ build_goto_dest (document, action, static_cast <const LinkGoTo *> (link)); |
| 9 |
break; |
| 10 |
case actionGoToR: |
| 11 |
action->type = POPPLER_ACTION_GOTO_REMOTE; |
| 12 |
- build_goto_remote (action, dynamic_cast <const LinkGoToR *> (link)); |
| 13 |
+ build_goto_remote (action, static_cast <const LinkGoToR *> (link)); |
| 14 |
break; |
| 15 |
case actionLaunch: |
| 16 |
action->type = POPPLER_ACTION_LAUNCH; |
| 17 |
- build_launch (action, dynamic_cast <const LinkLaunch *> (link)); |
| 18 |
+ build_launch (action, static_cast <const LinkLaunch *> (link)); |
| 19 |
break; |
| 20 |
case actionURI: |
| 21 |
action->type = POPPLER_ACTION_URI; |
| 22 |
- build_uri (action, dynamic_cast <const LinkURI *> (link)); |
| 23 |
+ build_uri (action, static_cast <const LinkURI *> (link)); |
| 24 |
break; |
| 25 |
case actionNamed: |
| 26 |
action->type = POPPLER_ACTION_NAMED; |
| 27 |
- build_named (action, dynamic_cast <const LinkNamed *> (link)); |
| 28 |
+ build_named (action, static_cast <const LinkNamed *> (link)); |
| 29 |
break; |
| 30 |
case actionMovie: |
| 31 |
action->type = POPPLER_ACTION_MOVIE; |
| 32 |
- build_movie (document, action, dynamic_cast<const LinkMovie*> (link)); |
| 33 |
+ build_movie (document, action, static_cast<const LinkMovie*> (link)); |
| 34 |
break; |
| 35 |
case actionRendition: |
| 36 |
action->type = POPPLER_ACTION_RENDITION; |
| 37 |
- build_rendition (action, dynamic_cast<const LinkRendition*> (link)); |
| 38 |
+ build_rendition (action, static_cast<const LinkRendition*> (link)); |
| 39 |
break; |
| 40 |
case actionOCGState: |
| 41 |
action->type = POPPLER_ACTION_OCG_STATE; |
| 42 |
- build_ocg_state (document, action, dynamic_cast<const LinkOCGState*> (link)); |
| 43 |
+ build_ocg_state (document, action, static_cast<const LinkOCGState*> (link)); |
| 44 |
break; |
| 45 |
case actionJavaScript: |
| 46 |
action->type = POPPLER_ACTION_JAVASCRIPT; |
| 47 |
- build_javascript (action, dynamic_cast<const LinkJavaScript*> (link)); |
| 48 |
+ build_javascript (action, static_cast<const LinkJavaScript*> (link)); |
| 49 |
break; |
| 50 |
case actionUnknown: |
| 51 |
default: |