summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/ClientUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch/ClientUtil.cpp')
-rw-r--r--cpp/src/IcePatch/ClientUtil.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/cpp/src/IcePatch/ClientUtil.cpp b/cpp/src/IcePatch/ClientUtil.cpp
index 9e19adcc42b..4bde38291de 100644
--- a/cpp/src/IcePatch/ClientUtil.cpp
+++ b/cpp/src/IcePatch/ClientUtil.cpp
@@ -16,29 +16,29 @@
using namespace std;
using namespace Ice;
using namespace IcePatch;
-
-AbortException::AbortException(const char* file, int line) :
- IceUtil::Exception(file, line)
-{
-}
-
-std::string
-AbortException::ice_name() const
-{
- return "AbortException";
-}
-
-Exception*
-AbortException::ice_clone() const
-{
- return new AbortException(*this);
-}
-
-void
-AbortException::ice_throw() const
-{
- throw *this;
-}
+
+AbortException::AbortException(const char* file, int line) :
+ IceUtil::Exception(file, line)
+{
+}
+
+std::string
+AbortException::ice_name() const
+{
+ return "AbortException";
+}
+
+Exception*
+AbortException::ice_clone() const
+{
+ return new AbortException(*this);
+}
+
+void
+AbortException::ice_throw() const
+{
+ throw *this;
+}
string
IcePatch::pathToName(const string& path)
@@ -157,8 +157,8 @@ IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
const Int numBZ2 = 64 * 1024;
Byte bytesBZ2[numBZ2];
-
- try
+
+ try
{
progressCB.startUncompress(totalBZ2, 0);
@@ -205,14 +205,14 @@ IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
}
progressCB.finishedUncompress(totalBZ2);
- }
- catch(...)
- {
- BZ2_bzReadClose(&bzError, bzFile);
- fclose(stdioFileBZ2);
- file.close();
- throw;
- }
+ }
+ catch(...)
+ {
+ BZ2_bzReadClose(&bzError, bzFile);
+ fclose(stdioFileBZ2);
+ file.close();
+ throw;
+ }
BZ2_bzReadClose(&bzError, bzFile);
if(bzError != BZ_OK)