Kaydet (Commit) 202903e9 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS sb59 (1.4.100); FILE MERGED

2006/08/10 12:04:50 sb 1.4.100.1: #i67487# Made code warning-free (wntmsci10).
üst 467a7ada
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: customcontrolfactory.cxx,v $ * $RCSfile: customcontrolfactory.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 17:55:39 $ * last change: $Author: obo $ $Date: 2006-10-12 10:51:30 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -68,9 +68,9 @@ CCustomControl* CCustomControlFactory::CreateCustomControl(HWND aControlHandle, ...@@ -68,9 +68,9 @@ CCustomControl* CCustomControlFactory::CreateCustomControl(HWND aControlHandle,
TCHAR aClsName[256]; TCHAR aClsName[256];
ZeroMemory(aClsName,sizeof(aClsName)); ZeroMemory(aClsName,sizeof(aClsName));
int nRet = GetClassName(aControlHandle,aClsName,sizeof(aClsName)); if (GetClassName(aControlHandle,aClsName,sizeof(aClsName)) == 0) {
OSL_ENSURE(false,"Invalid window handle");
OSL_ENSURE(nRet,"Invalid window handle"); }
if (0 == _tcsicmp(aClsName,TEXT("button"))) if (0 == _tcsicmp(aClsName,TEXT("button")))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment