From 2ed25e1f8c21233cc8f5ee41d449408a7a2f555c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 19 Sep 2011 10:39:07 +0100 Subject: [PATCH] ByteString->rtl::OStringBuffer --- tools/source/fsys/wntmsc.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/source/fsys/wntmsc.hxx b/tools/source/fsys/wntmsc.hxx index 43b700fe17be..ee09a1e0e904 100644 --- a/tools/source/fsys/wntmsc.hxx +++ b/tools/source/fsys/wntmsc.hxx @@ -42,6 +42,7 @@ #include #include +#include //-------------------------------------------------------------------- @@ -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 );