diff options
| author | Andrew Higginson <at.higginson@gmail.com> | 2011-12-27 21:04:47 +0000 |
|---|---|---|
| committer | Andrew <at.higginson@gmail.com> | 2011-12-27 21:04:47 +0000 |
| commit | 80960b623a99aae1402ab651b2974ef544ed3b03 (patch) | |
| tree | ba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/dom/io/uristream.cpp | |
| parent | try to fix bug (diff) | |
| parent | GDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff) | |
| download | inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip | |
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/dom/io/uristream.cpp')
| -rw-r--r-- | src/dom/io/uristream.cpp | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/dom/io/uristream.cpp b/src/dom/io/uristream.cpp index 3e47d99e1..09b0ac361 100644 --- a/src/dom/io/uristream.cpp +++ b/src/dom/io/uristream.cpp @@ -1,4 +1,4 @@ -/** +/* * Phoebe DOM Implementation. * * This is a C++ approximation of the W3C DOM model, which follows @@ -91,19 +91,6 @@ void UriInputStream::init() throw (StreamException) dataLen = uri.getPath().size(); break; } - - case URI::SCHEME_HTTP: - case URI::SCHEME_HTTPS: - { - if (!httpClient.openGet(uri)) - { - DOMString err = "UriInputStream cannot open URL "; - err.append(uri.toString()); - throw StreamException(err); - } - break; - } - } closed = false; @@ -159,14 +146,6 @@ void UriInputStream::close() throw(StreamException) //do nothing break; } - - case URI::SCHEME_HTTP: - case URI::SCHEME_HTTPS: - { - httpClient.close(); - break; - } - }//switch closed = true; @@ -211,14 +190,6 @@ int UriInputStream::get() throw(StreamException) } break; } - - case URI::SCHEME_HTTP: - case URI::SCHEME_HTTPS: - { - retVal = httpClient.read(); - break; - } - }//switch return retVal; |
