diff options
Diffstat (limited to 'framework/source/fwi/helper/networkdomain.cxx')
-rw-r--r-- | framework/source/fwi/helper/networkdomain.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/framework/source/fwi/helper/networkdomain.cxx b/framework/source/fwi/helper/networkdomain.cxx index 3dc4ee9c5737..6ea2a37f5469 100644 --- a/framework/source/fwi/helper/networkdomain.cxx +++ b/framework/source/fwi/helper/networkdomain.cxx @@ -23,7 +23,6 @@ // Windows - #define UNICODE #if defined _MSC_VER #pragma warning(push, 1) @@ -51,10 +50,8 @@ static OUString GetUserDomain() return OUString(); } - // Windows - namespace framework { @@ -77,16 +74,12 @@ OUString NetworkDomain::GetNTDomainName() #include <errno.h> #include <osl/thread.h> - // Unix - #if defined( SOLARIS ) - // Solaris - #include <sys/systeminfo.h> #include <sal/alloca.h> @@ -129,10 +122,8 @@ static rtl_uString *getDomainName() #elif defined( LINUX ) /* endif SOLARIS */ - // Linux - #include <unistd.h> #include <string.h> @@ -170,10 +161,8 @@ static rtl_uString *getDomainName() #else /* LINUX */ - // Other Unix - static rtl_uString *getDomainName() { return NULL; @@ -181,10 +170,8 @@ static rtl_uString *getDomainName() #endif - // Unix - namespace framework { @@ -206,10 +193,8 @@ OUString NetworkDomain::GetNTDomainName() #else /* UNIX */ - // Other operating systems (non-Windows and non-Unix) - namespace framework { |