diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-18 12:09:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-18 12:09:41 +0000 |
commit | 5dbdaeb5b439a69286f29d44207bb53b35012395 (patch) | |
tree | 2c77983c00a41a9001515be4ac3c65a9ea98fa7f /svx | |
parent | fbdb13aadd6e27d7df169cdccd00450d7ba40cee (diff) |
INTEGRATION: CWS impress64 (1.16.354); FILE MERGED
2005/07/13 17:07:21 cl 1.16.354.1: #i50899# added a quickfix to let application remove unused items
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unomtabl.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx index 13f4b1d02299..487720d6ba03 100644 --- a/svx/source/unodraw/unomtabl.cxx +++ b/svx/source/unodraw/unomtabl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unomtabl.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: kz $ $Date: 2005-01-21 17:02:10 $ + * last change: $Author: obo $ $Date: 2005-07-18 13:09:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -266,6 +266,14 @@ void SAL_CALL SvxUnoMarkerTable::removeByName( const OUString& aApiName ) { OGuard aGuard( Application::GetSolarMutex() ); + // a little quickfix for 2.0 to let applications clear api + // created items that are not used + if( aApiName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("~clear~") ) ) + { + dispose(); + return; + } + String Name; SvxUnogetInternalNameForItem( XATTR_LINEEND, aApiName, Name ); |