diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 18:05:04 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 18:05:04 +0000 |
commit | 5acaaf11e1cf33757915539440516b1cc66b4e1d (patch) | |
tree | 747a9a29bcb60c1765fa18e7da7e69f78f2b5a0d /svx/source/engine3d/objfac3d.cxx | |
parent | e9b89e59855523aa33317a4fd04a2a708eb95d6c (diff) |
INTEGRATION: CWS dialogdiet (1.1.1.1.526); FILE MERGED
2003/11/28 17:48:47 mba 1.1.1.1.526.1: #i22972#: make factory aware of multiple inits
Diffstat (limited to 'svx/source/engine3d/objfac3d.cxx')
-rw-r--r-- | svx/source/engine3d/objfac3d.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/svx/source/engine3d/objfac3d.cxx b/svx/source/engine3d/objfac3d.cxx index c6b6e32e2fad..bf2487588650 100644 --- a/svx/source/engine3d/objfac3d.cxx +++ b/svx/source/engine3d/objfac3d.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objfac3d.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:01:15 $ + * last change: $Author: hr $ $Date: 2004-02-03 19:05:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,9 +117,15 @@ |* \************************************************************************/ +static BOOL bInit = FALSE; + E3dObjFactory::E3dObjFactory() { - SdrObjFactory::InsertMakeObjectHdl(LINK(this, E3dObjFactory, MakeObject)); + if ( !bInit ) + { + SdrObjFactory::InsertMakeObjectHdl(LINK(this, E3dObjFactory, MakeObject)); + bInit = TRUE; + } } /************************************************************************* |