From abada90e3f84dc703b8ddc9efcbed8a946fadead Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 1 Feb 2007 17:09:49 +0000 Subject: Expanded tabs into spaces --- cpp/demo/book/printer/Client.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'cpp/demo/book/printer/Client.cpp') diff --git a/cpp/demo/book/printer/Client.cpp b/cpp/demo/book/printer/Client.cpp index 71f6bb711b2..4928da9a903 100755 --- a/cpp/demo/book/printer/Client.cpp +++ b/cpp/demo/book/printer/Client.cpp @@ -19,28 +19,28 @@ main(int argc, char * argv[]) int status = 0; Ice::CommunicatorPtr ic; try { - ic = Ice::initialize(argc, argv); - Ice::ObjectPrx base = ic->stringToProxy( - "SimplePrinter:default -p 10000"); - PrinterPrx printer = PrinterPrx::checkedCast(base); - if (!printer) - throw "Invalid proxy"; + ic = Ice::initialize(argc, argv); + Ice::ObjectPrx base = ic->stringToProxy( + "SimplePrinter:default -p 10000"); + PrinterPrx printer = PrinterPrx::checkedCast(base); + if (!printer) + throw "Invalid proxy"; - printer->printString("Hello World!"); + printer->printString("Hello World!"); } catch (const Ice::Exception & ex) { - cerr << ex << endl; - status = 1; + cerr << ex << endl; + status = 1; } catch (const char * msg) { - cerr << msg << endl; - status = 1; + cerr << msg << endl; + status = 1; } if (ic) { - try { - ic->destroy(); - } catch (const Ice::Exception & ex) { - cerr << ex << endl; - status = 1; - } + try { + ic->destroy(); + } catch (const Ice::Exception & ex) { + cerr << ex << endl; + status = 1; + } } return status; } -- cgit v1.2.3