diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-02 18:41:12 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-02 19:06:46 +0200 |
commit | 174a1d3c3da7457884a2f79016e8a9375fd5297e (patch) | |
tree | 377e0cd82f8e109d3b7339e8f802d3b6efb645f7 /sal/qa/osl/security/osl_Security_Const.h | |
parent | 0c08a84c04b166ab6479716e2c33cd444d7e3dbe (diff) |
fix very ... uhm ... inventive and confusing use of empty string
Diffstat (limited to 'sal/qa/osl/security/osl_Security_Const.h')
-rw-r--r-- | sal/qa/osl/security/osl_Security_Const.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/sal/qa/osl/security/osl_Security_Const.h b/sal/qa/osl/security/osl_Security_Const.h index 0c3a242255cf..4eca51cef963 100644 --- a/sal/qa/osl/security/osl_Security_Const.h +++ b/sal/qa/osl/security/osl_Security_Const.h @@ -59,22 +59,9 @@ #define BUFSIZE 1024 const char pTestString[17] = "Sun Microsystems"; - -#define OSLTEST_DECLARE_USTRING( str_name, str_value ) \ - ::rtl::OUString a##str_name = rtl::OUString::createFromAscii( str_value ) - -//------------------------------------------------------------------------ -// condition names -//------------------------------------------------------------------------ - -// Intentionally different from the aNullURL in osl_File_Const.h to avoid -// duplicate symbols as all the unit tests here get linked together for iOS... - -OSLTEST_DECLARE_USTRING( NullUrl, "" ); - -::rtl::OUString aLogonUser( aNullUrl ), aLogonPasswd( aNullUrl ), aFileServer( aNullUrl ), aStringForward( aNullUrl ); -::rtl::OUString strUserName( aNullUrl ) , strComputerName( aNullUrl ) , strHomeDirectory( aNullUrl ); -::rtl::OUString strConfigDirectory( aNullUrl ), strUserID( aNullUrl ); +::rtl::OUString aLogonUser, aLogonPasswd, aFileServer, aStringForward; +::rtl::OUString strUserName, strComputerName, strHomeDirectory; +::rtl::OUString strConfigDirectory, strUserID; sal_Bool isAdmin = sal_False; |