diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-08 14:47:59 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-08 14:47:59 +0000 |
commit | 263e31fa733fcf48c5d14e7395a0a70e482d8e1a (patch) | |
tree | f06fd85b0e12db7ac2ce192fd11fc42a97b7208d /fpicker | |
parent | ba6fbead3a71bb4d5d828c52e0934b9749a14558 (diff) |
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
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/controlaccess.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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"))) |