ByteString->rtl::OStringBuffer

This commit is contained in:
Caolán McNamara 2011-09-19 10:39:07 +01:00
parent 375fc2d5ec
commit 2ed25e1f8c

View File

@ -42,6 +42,7 @@
#include <tools/solar.h>
#include <tools/string.hxx>
#include <rtl/strbuf.hxx>
//--------------------------------------------------------------------
@ -75,9 +76,10 @@ typedef struct
inline sal_Bool DRIVE_EXISTS(char c)
{
ByteString aDriveRoot( c );
aDriveRoot += ":\\";
return GetDriveType( aDriveRoot.GetBuffer() ) > 1;
rtl::OStringBuffer aDriveRoot;
aDriveRoot.append(c);
aDriveRoot.append(":\\");
return GetDriveType( aDriveRoot.getStr() ) > 1;
}
const char* TempDirImpl( char *pBuf );