summaryrefslogtreecommitdiff
path: root/svx/source/init
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 17:52:21 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 17:52:21 +0000
commit947b881980cd6e874779fa47f02053e97a5d5df3 (patch)
tree6ecdb0cbc23d0d9cffc563b7623db052ae2a94ba /svx/source/init
parenteffd7df3ebcb34c60732240279130f730374cf90 (diff)
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'
Diffstat (limited to 'svx/source/init')
-rw-r--r--svx/source/init/init.cxx37
1 files changed, 3 insertions, 34 deletions
diff --git a/svx/source/init/init.cxx b/svx/source/init/init.cxx
index cd4c0fe2d4..d4286de0f1 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;