From 27951fd37d9a4b506adacb3c12395e7504422a14 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 16 Jan 2012 09:03:09 +0000 Subject: SEARCH_PATH_DELIMITER is the same as SAL_PATHSEPARATOR --- tools/source/rc/resmgr.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 68c8b4c19fc3..98605860ad9a 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -56,12 +56,6 @@ #include #include -#ifdef UNX -#define SEARCH_PATH_DELIMITER ':' -#else -#define SEARCH_PATH_DELIMITER ';' -#endif - using ::rtl::OUString; using ::rtl::OString; using ::rtl::OUStringBuffer; @@ -209,7 +203,7 @@ void ResMgrContainer::init() nIndex = 0; while( nIndex >= 0 ) { - OUString aPathElement( aEnvPath.getToken( 0, SEARCH_PATH_DELIMITER, nIndex ) ); + OUString aPathElement( aEnvPath.getToken( 0, SAL_PATHSEPARATOR, nIndex ) ); if( aPathElement.getLength() ) { OUString aFileURL; -- cgit