summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-19 10:39:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-19 10:39:07 +0100
commit2ed25e1f8c21233cc8f5ee41d449408a7a2f555c (patch)
tree55aac855cd429303bc9c9b0bdc626e38b61b583c /tools
parent375fc2d5ec124a9c6e66877fdbb7ca9be8372323 (diff)
ByteString->rtl::OStringBuffer
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/wntmsc.hxx8
1 files 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 <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 );