summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-04-08 14:47:59 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-04-08 14:47:59 +0000
commit263e31fa733fcf48c5d14e7395a0a70e482d8e1a (patch)
treef06fd85b0e12db7ac2ce192fd11fc42a97b7208d /fpicker
parentba6fbead3a71bb4d5d828c52e0934b9749a14558 (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.cxx6
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")))