diff options
author | Dirk Völzke <dv@openoffice.org> | 2000-12-21 11:37:37 +0000 |
---|---|---|
committer | Dirk Völzke <dv@openoffice.org> | 2000-12-21 11:37:37 +0000 |
commit | df32225d05cec18a4102d00414328d8ae2138150 (patch) | |
tree | c94414fd32a7e4da8264af64948af7f476ee353b /sfx2 | |
parent | e29b4ad9fbb8c2eb613f1365b02ed4ef578ba8a9 (diff) |
#81540# Don't use hierarchy any more (part2)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index be08f902e969..98b006c5d9a4 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: doctempl.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: dv $ $Date: 2000-12-21 11:56:05 $ + * last change: $Author: dv $ $Date: 2000-12-21 12:37:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2023,6 +2023,8 @@ int EntryData_Impl::Compare( const OUString& rTitle ) const // ----------------------------------------------------------------------- void EntryData_Impl::SetType( const OUString& rType ) { +#ifndef DONT_USE_HIERARCHY + if ( ! rType.len() ) return; @@ -2059,6 +2061,7 @@ void EntryData_Impl::SetType( const OUString& rType ) catch ( CommandAbortedException& ) {} catch ( RuntimeException& ) {} catch ( Exception& ) {} +#endif } // ----------------------------------------------------------------------- |