diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-17 23:58:42 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-17 23:58:42 +0000 |
| commit | 6c1ffd6ad92bcbb1ab79908fe0b1b2e05f3c0e35 (patch) | |
| tree | e4c99bc8f4073bbe54fb96d0a248bc856425c57e /src | |
| parent | Prevent CMS button from pinning space used by scrollbars (diff) | |
| download | inkscape-6c1ffd6ad92bcbb1ab79908fe0b1b2e05f3c0e35.tar.gz inkscape-6c1ffd6ad92bcbb1ab79908fe0b1b2e05f3c0e35.zip | |
whitespace
(bzr r4101)
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/exception.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/2geom/exception.h b/src/2geom/exception.h index 1a031cab9..0791c8547 100644 --- a/src/2geom/exception.h +++ b/src/2geom/exception.h @@ -39,8 +39,7 @@ namespace Geom { // Base exception class, all 2geom exceptions should be derrived from this one. class Exception : public std::exception { public: - Exception(const char * message, const char *file, const int line) - { + Exception(const char * message, const char *file, const int line) { std::ostringstream os; os << "lib2geom exception: " << message << " (" << file << ":" << line << ")"; msgstr = os.str(); @@ -48,7 +47,7 @@ public: virtual ~Exception() throw() {} // necessary to destroy the string object!!! - virtual const char* what() const throw (){ + virtual const char* what() const throw () { return msgstr.c_str(); } protected: |
