summaryrefslogtreecommitdiff
path: root/framework/source/helper
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper')
-rw-r--r--framework/source/helper/networkdomain.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/helper/networkdomain.cxx b/framework/source/helper/networkdomain.cxx
index 6d43d5019ca7..563d71ac815a 100644
--- a/framework/source/helper/networkdomain.cxx
+++ b/framework/source/helper/networkdomain.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: networkdomain.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 10:40:17 $
+ * last change: $Author: vg $ $Date: 2007-03-26 13:12:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -132,9 +132,9 @@ static rtl::OUString GetUserDomain()
DWORD nResult;
if ( nVersion < 0 )
- nResult = GetUserDomainW_WINDOWS( aBuffer, sizeof( aBuffer ) );
+ nResult = GetUserDomainW_WINDOWS( reinterpret_cast<LPWSTR>(aBuffer), sizeof( aBuffer ) );
else
- nResult = GetUserDomainW_NT( aBuffer, sizeof( aBuffer ) );
+ nResult = GetUserDomainW_NT( reinterpret_cast<LPWSTR>(aBuffer), sizeof( aBuffer ) );
if ( nResult > 0 )
return rtl::OUString( aBuffer );