diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-11-05 19:24:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-11-05 19:24:36 +0000 |
commit | 7dbdf521ae09982b1121e2680a2a47765f7ebb62 (patch) | |
tree | 2e2474cda978b38c1b2041233c7c40202e6aa99d /ucb | |
parent | b7fb0e8147d2c152d628e6544b9a583e001d84ac (diff) |
#92924#: One throw statement is needed to convince
the gcc-3.0.x compiler to place the RTTI information for
InteractiveAugmentedIOException into the object file.
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 08ba988c80e2..3bc072e89eba 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shell.cxx,v $ * - * $Revision: 1.57 $ + * $Revision: 1.58 $ * - * last change: $Author: abi $ $Date: 2001-11-05 07:43:30 $ + * last change: $Author: hr $ $Date: 2001-11-05 20:24:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -987,6 +987,16 @@ shell::setv( sal_Int32 CommandId, return ret; } +#if ( defined(GCC) && __GNUC__ >= 3 ) +static void dummy (void) throw (InteractiveAugmentedIOException) +{ + // This one is never called. One throw statement is needed to convince + // the gcc-3.0.x compiler to place the RTTI information for + // InteractiveAugmentedIOException into the object file. + throw InteractiveAugmentedIOException(); +} +#endif + /*********************************************************************************/ /* */ |