diff options
| author | mbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-01-22 19:00:49 +0000 |
|---|---|---|
| committer | mbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-01-22 19:00:49 +0000 |
| commit | 89cc09fe1f27e1aa6f68baaee74657f5c0d5bf4e (patch) | |
| tree | 84676127d8f737fdc9d4cec1191f3fdcca27ffed /TAO/tao/XtResource_Loader.cpp | |
| parent | 77ee6b9e340ca3f46e3c214eb98d14961cb4f906 (diff) | |
| download | ATCD-REACTOR_SEPARATION.tar.gz | |
ChangeLogTag: Sat Jan 22 19:57:16 2005 Marek Brudka <mbrudka@aster.pl>REACTOR_SEPARATION
Diffstat (limited to 'TAO/tao/XtResource_Loader.cpp')
| -rw-r--r-- | TAO/tao/XtResource_Loader.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/TAO/tao/XtResource_Loader.cpp b/TAO/tao/XtResource_Loader.cpp index 3127ffffc20..d2350ddcc00 100644 --- a/TAO/tao/XtResource_Loader.cpp +++ b/TAO/tao/XtResource_Loader.cpp @@ -3,14 +3,21 @@ #include "ORB_Core.h" #include "XtResource_Factory.h" -ACE_RCSID(tao, XtResource_Loader, "$Id$"); +ACE_RCSID( TAO_XtResource, + XtResource_Loader, + "$Id$"); namespace TAO { XtResource_Loader::XtResource_Loader (XtAppContext context) { - TAO_ORB_Core::set_gui_resource_factory( new XtResource_Factory (context) ); + XtResource_Factory *tmp = 0; + + ACE_NEW (tmp, + XtResource_Factory (context)); + + TAO_ORB_Core::set_gui_resource_factory( tmp ); } XtResource_Loader::~XtResource_Loader () |
