diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-03-07 13:48:38 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-03-07 13:48:38 +0000 |
commit | b6601ce5483f01c621c33bfef1a4f4a1fb0025e9 (patch) | |
tree | e34a7e32b2a1386fd794475dfb5ef346fe926cd2 /svx/source/editeng/eeobj.cxx | |
parent | #83212# added helper functions to force unique names for NameOrIndex items (diff) | |
download | core-b6601ce5483f01c621c33bfef1a4f4a1fb0025e9.tar.gz core-b6601ce5483f01c621c33bfef1a4f4a1fb0025e9.zip |
getTransferData: Throw exception, if unsupported type
Diffstat (limited to 'svx/source/editeng/eeobj.cxx')
-rw-r--r-- | svx/source/editeng/eeobj.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/source/editeng/eeobj.cxx b/svx/source/editeng/eeobj.cxx index 2dfd79884bba..a6242a651a58 100644 --- a/svx/source/editeng/eeobj.cxx +++ b/svx/source/editeng/eeobj.cxx @@ -2,9 +2,9 @@ * * $RCSfile: eeobj.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mt $ $Date: 2001-02-09 16:50:46 $ + * last change: $Author: mt $ $Date: 2001-03-07 14:48:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,6 +132,10 @@ uno::Any EditDataObject::getTransferData( const datatransfer::DataFlavor& rFlavo delete pEditEngine; delete pTmpPool; } + else + { + throw( datatransfer::UnsupportedFlavorException() ); + } return aAny; } |