diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:13:38 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:13:38 +0300 |
commit | 33fdb0b1161ac1b8786f26de840811a34867730c (patch) | |
tree | a8e544464a3951b032d9577198b2a2126a54b312 | |
parent | aa7d62c3e385af3029b11fa86f7dd98987dddee0 (diff) |
Use SAL_PATHDELIMITER
Change-Id: I5b5346dcf5b4ab3277fea28ee73bc36dc0579105
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 0013ec1b9f48..eb3c9eb13ec8 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -101,13 +101,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_QUERY; -// #TODO is this defined somewhere else? -#if ( defined UNX ) //unix -#define FILE_PATH_SEPARATOR "/" -#else // windows -#define FILE_PATH_SEPARATOR "\\" -#endif - // ============================================================================ /** Global application settings shared by all open workbooks. */ @@ -942,8 +935,7 @@ ScVbaApplication::getTemplatesPath() throw (uno::RuntimeException) OUString SAL_CALL ScVbaApplication::getPathSeparator() throw (uno::RuntimeException) { - static OUString sPathSep( FILE_PATH_SEPARATOR ); - return sPathSep; + return OUString( (sal_Unicode) SAL_PATHDELIMITER ); } // ---------------------------------------------------------------------------- |