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