From fcc991deb2c6860f2761969477fd1adf36f56c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Sch=C3=B6nheit?= Date: Fri, 12 Jan 2001 16:02:53 +0000 Subject: [PATCH] StringToAny: corrected the evaluation of booleans --- extensions/source/propctrlr/formcontroller.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index e619a577bd27..9569653e301e 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formcontroller.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-01-12 14:44:49 $ + * last change: $Author: fs $ $Date: 2001-01-12 17:02:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -593,9 +593,9 @@ namespace pcr { String sBooleanValues(ModuleRes(RID_STR_BOOL)); if (sBooleanValues.GetToken(0) == String(_rString)) - aReturn <<= (sal_Bool)sal_True; - else aReturn <<= (sal_Bool)sal_False; + else + aReturn <<= (sal_Bool)sal_True; } break; @@ -2498,6 +2498,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.2 2001/01/12 14:44:49 fs + * don't hold the form info service statically - caused problems 'cause it was the last ModuleResourceClient and destroyed upon unloaded the library + * * Revision 1.1 2001/01/12 11:28:05 fs * initial checkin - outsourced the form property browser *