summaryrefslogtreecommitdiff
path: root/framework/source/helper
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-03-26 12:12:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-03-26 12:12:37 +0000
commitba4f554d3cc1ae47d6b6d2c25e8cabbbe81d525c (patch)
tree7dcaae55b78110b09c590d635b1a6450624e2540 /framework/source/helper
parentf81f83ca12fec36a6cada7ddb8f7d2a885c90681 (diff)
INTEGRATION: CWS mingwport03 (1.5.150); FILE MERGED
2006/11/08 10:13:58 vg 1.5.150.2: RESYNC: (1.5-1.7); FILE MERGED 2006/09/07 08:40:04 vg 1.5.150.1: #i53572# MinGW port
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 );