From dcaacdf8624157cca993ce17ba02738c383db6ee Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 1 Apr 2005 15:16:01 +0000 Subject: INTEGRATION: CWS fwkfinal6 (1.81.18); FILE MERGED 2005/03/24 09:57:43 as 1.81.18.1: #i45873# enable pdf feature always! Because it cant be disabled during setup ... --- sfx2/source/doc/objserv.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index a8bd18f51cb3..bc3aa131df4a 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objserv.cxx,v $ * - * $Revision: 1.81 $ + * $Revision: 1.82 $ * - * last change: $Author: vg $ $Date: 2005-03-10 18:22:00 $ + * last change: $Author: rt $ $Date: 2005-04-01 16:16:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1115,6 +1115,14 @@ void SfxObjectShell::GetState_Impl(SfxItemSet &rSet) case SID_EXPORTDOCASPDF: case SID_DIRECTEXPORTDOCASPDF: { + /* + + search for filter cant work correctly ... + Because it's not clear, which export filter for which office module + must be searched. On the other side it can be very expensive doing so. + The best solution would be: on installation time we should know if pdf feature + was installed or not!!! (e.g. by writing a bool inside cfg) + SfxFilterContainer* pFilterContainer = GetFactory().GetFilterContainer(); if ( pFilterContainer ) { @@ -1125,6 +1133,7 @@ void SfxObjectShell::GetState_Impl(SfxItemSet &rSet) } rSet.DisableItem( nWhich ); + */ break; } -- cgit