summaryrefslogtreecommitdiff
path: root/framework/source/fwi/helper/networkdomain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwi/helper/networkdomain.cxx')
-rw-r--r--framework/source/fwi/helper/networkdomain.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/framework/source/fwi/helper/networkdomain.cxx b/framework/source/fwi/helper/networkdomain.cxx
index 3bf207806758..3dc4ee9c5737 100644
--- a/framework/source/fwi/helper/networkdomain.cxx
+++ b/framework/source/fwi/helper/networkdomain.cxx
@@ -20,9 +20,9 @@
#include <helper/networkdomain.hxx>
#ifdef WNT
-//_________________________________________________________________________________________________________________
+
// Windows
-//_________________________________________________________________________________________________________________
+
#define UNICODE
#if defined _MSC_VER
@@ -51,9 +51,9 @@ static OUString GetUserDomain()
return OUString();
}
-//_________________________________________________________________________________________________________________
+
// Windows
-//_________________________________________________________________________________________________________________
+
namespace framework
{
@@ -77,15 +77,15 @@ OUString NetworkDomain::GetNTDomainName()
#include <errno.h>
#include <osl/thread.h>
-//_________________________________________________________________________________________________________________
+
// Unix
-//_________________________________________________________________________________________________________________
+
#if defined( SOLARIS )
-//_________________________________________________________________________________________________________________
+
// Solaris
-//_________________________________________________________________________________________________________________
+
#include <sys/systeminfo.h>
#include <sal/alloca.h>
@@ -129,9 +129,9 @@ static rtl_uString *getDomainName()
#elif defined( LINUX ) /* endif SOLARIS */
-//_________________________________________________________________________________________________________________
+
// Linux
-//_________________________________________________________________________________________________________________
+
#include <unistd.h>
#include <string.h>
@@ -170,9 +170,9 @@ static rtl_uString *getDomainName()
#else /* LINUX */
-//_________________________________________________________________________________________________________________
+
// Other Unix
-//_________________________________________________________________________________________________________________
+
static rtl_uString *getDomainName()
{
@@ -181,9 +181,9 @@ static rtl_uString *getDomainName()
#endif
-//_________________________________________________________________________________________________________________
+
// Unix
-//_________________________________________________________________________________________________________________
+
namespace framework
{
@@ -206,9 +206,9 @@ OUString NetworkDomain::GetNTDomainName()
#else /* UNIX */
-//_________________________________________________________________________________________________________________
+
// Other operating systems (non-Windows and non-Unix)
-//_________________________________________________________________________________________________________________
+
namespace framework
{