From 2db015fc258c931f1541f46080efa28f23dc71d0 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 13 Jan 2005 17:52:21 +0000 Subject: [PATCH] INTEGRATION: CWS cd02 (1.2.106); FILE MERGED 2005/01/11 12:44:42 cd 1.2.106.1: #i33483# Make svx based function extern 'C' --- svx/source/init/init.cxx | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/svx/source/init/init.cxx b/svx/source/init/init.cxx index 976d12ec8cea..d4286de0f10d 100644 --- a/svx/source/init/init.cxx +++ b/svx/source/init/init.cxx @@ -2,9 +2,9 @@ * * $RCSfile: init.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-11-17 10:21:06 $ + * last change: $Author: kz $ $Date: 2005-01-13 18:52:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,7 +71,7 @@ // ------------------------------------------------------------------------ //Sonderzeichen einfuegen fuer Edits -String GetSpecialCharsForEdit(Window* pParent, const Font& rFont) +extern "C" String GetSpecialCharsForEdit(Window* pParent, const Font& rFont) { String sRet; SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); @@ -86,34 +86,3 @@ String GetSpecialCharsForEdit(Window* pParent, const Font& rFont) } return sRet; } - -// ------------------------------------------------------------------------ - -class Initialize -{ - public: - Initialize(); - ~Initialize(); -}; - -// ------------------------------------------------------------------------ - -Initialize::Initialize() -{ -#if 0 // commented out since it does not work in nonoffice scenario - ::vos::OGuard aGuard( Application::GetSolarMutex() ); - - // Set special characters callback on vcl edit control - Edit::SetGetSpecialCharsFunction(&GetSpecialCharsForEdit); -#endif -} - -// ------------------------------------------------------------------------ - -Initialize::~Initialize() -{ -} - -// ------------------------------------------------------------------------ - -Initialize aInit;