diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-07-09 11:52:22 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-08-06 10:21:49 +0100 |
commit | 26f5b9290cc3e7bbb46a769cf175ede3dd74c137 (patch) | |
tree | 493608c557706037cd6740650c59283d95d8cd9f /sd/source/ui/remotecontrol/Receiver.cxx | |
parent | 096e35f1dc20d4635390412cc0302ec58b2d7f1a (diff) |
cleanup trailing whitespace
Change-Id: I788513e8cb7d8e1fd9efca4ff4150381df9b199a
Diffstat (limited to 'sd/source/ui/remotecontrol/Receiver.cxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Receiver.cxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx index c77cc5479d35..ea7a3442f8c7 100644 --- a/sd/source/ui/remotecontrol/Receiver.cxx +++ b/sd/source/ui/remotecontrol/Receiver.cxx @@ -33,30 +33,25 @@ Receiver::Receiver() Receiver::~Receiver() { - - } void Receiver::parseCommand(char* aCommand, XSlideShowController *aController) { - - JsonParser *parser; JsonNode *root; GError *error; - + parser = json_parser_new (); error = NULL; json_parser_load_from_data( parser, aCommand, aCommand.size, error ); - + if (error) { - } - + root = json_parser_get_root( parser ); JsonObject *aObject = json_node_get_object( root ); char* aInstruction = json_node_get_string( json_object_get_member( "command" ) ); - + switch ( aInstruction ) { case "transition_next": @@ -69,7 +64,5 @@ void Receiver::parseCommand(char* aCommand, XSlideShowController *aController) case "goto_slide": // break; - }; - - -}
\ No newline at end of file + }; +} |