From e5c5a01ad74f9adfbde199926ed8dfc1eff34466 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 19 Sep 2003 07:02:31 +0000 Subject: INTEGRATION: CWS fwkq1 (1.31.26); FILE MERGED 2003/08/20 11:13:38 mba 1.31.26.3: #110843#: obsolete code removed 2003/07/15 16:11:57 mba 1.31.26.2: RESYNC: (1.31-1.32); FILE MERGED 2003/07/14 18:00:21 mba 1.31.26.1: #110843#: get rid of factories --- sfx2/source/toolbox/tbxitem.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sfx2/source/toolbox') diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index ff13243934a6..da58a28357f5 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tbxitem.cxx,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: vg $ $Date: 2003-06-27 09:07:55 $ + * last change: $Author: rt $ $Date: 2003-09-19 08:02:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,6 +85,9 @@ #ifndef _SV_TOOLBOX_HXX #include #endif +#ifndef INCLUDED_SVTOOLS_MODULEOPTIONS_HXX +#include +#endif #include #include @@ -742,7 +745,7 @@ BOOL Impl_ExistURLInMenu( const PopupMenu *pMenu , if (!bValidFallback) { *pFallback = DEFINE_CONST_UNICODE("private:factory/"); - *pFallback += String::CreateFromAscii(SfxObjectFactory::GetDefaultFactory().GetShortName()); + *pFallback += String(SvtModuleOptions().GetDefaultModuleName()); } return FALSE; -- cgit