diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 18:26:29 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 18:26:29 +0000 |
commit | a2c38a1b4e4f867448636913c4eefdd70964d94b (patch) | |
tree | d18db897c6138b747c400d52802b5df832260846 /svx | |
parent | 5c121da7d4e90d6f7a8264302266b941376ee9d9 (diff) |
INTEGRATION: CWS dialogdiet (1.1.1.1.526); FILE MERGED
2004/01/26 14:31:49 mba 1.1.1.1.526.1: #i22972#: SvxErrorHandler needs to be created by apps
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/items/svxerr.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/svx/source/items/svxerr.cxx b/svx/source/items/svxerr.cxx index b7ff7948f973..a50429b9085c 100644 --- a/svx/source/items/svxerr.cxx +++ b/svx/source/items/svxerr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svxerr.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:01:21 $ + * last change: $Author: hr $ $Date: 2004-02-03 19:26:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,11 +71,19 @@ #include "dialogs.hrc" +static SvxErrorHandler* pHandler=NULL; + SvxErrorHandler::SvxErrorHandler() : SfxErrorHandler( RID_SVXERRCODE, ERRCODE_AREA_SVX, ERRCODE_AREA_SVX_END, DIALOG_MGR() ) { + pHandler = this; } +void SvxErrorHandler::Get() +{ + if ( !pHandler ) + new SvxErrorHandler; +} |