From 263e31fa733fcf48c5d14e7395a0a70e482d8e1a Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 8 Apr 2003 14:47:59 +0000 Subject: INTEGRATION: CWS sal02 (1.5.2.1.10); FILE MERGED 2003/03/24 11:57:53 tra 1.5.2.1.10.1: #108286#GetCtrlClass: providing correct buffer size to GetClassName --- fpicker/source/win32/filepicker/controlaccess.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/win32/filepicker/controlaccess.cxx b/fpicker/source/win32/filepicker/controlaccess.cxx index e4ba07ad02d2..b5198d9a4b6a 100644 --- a/fpicker/source/win32/filepicker/controlaccess.cxx +++ b/fpicker/source/win32/filepicker/controlaccess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: controlaccess.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-03-25 18:04:58 $ + * last change: $Author: rt $ $Date: 2003-04-08 15:47:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -265,7 +265,7 @@ CTRL_CLASS SAL_CALL GetCtrlClass( HWND hwndCtrl ) CTRL_CLASS aCtrlClass = UNKNOWN; TCHAR aClassName[256]; - int nRet = GetClassName(hwndCtrl,aClassName,sizeof(aClassName)); + int nRet = GetClassName(hwndCtrl,aClassName,(sizeof(aClassName)/sizeof(TCHAR))); if (nRet) { if (0 == _tcsicmp(aClassName,TEXT("button"))) -- cgit