summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:32:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:33:23 +0900
commit392c5b2a70440c03341f21c7583ca5139b4a253b (patch)
tree4d23407c3fef57af8615f592d075bf11bd6bf5bd /sal
parent83ff6c0f4101fe4f25c2b4a58c70b40de8cc2ff2 (diff)
Mark as const
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/file/osl_File.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 15df1b8c8c40..6357a8b028cd 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -6198,9 +6198,9 @@ namespace osl_Directory
#ifdef WNT
//##########################################
- char* get_unused_drive_letter()
+ const char* get_unused_drive_letter()
{
- static char m_aBuff[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ static const char m_aBuff[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
DWORD ld = GetLogicalDrives();
DWORD i = 4;
@@ -6218,7 +6218,7 @@ namespace osl_Directory
//##########################################
void at_invalid_logical_drive()
{
- char* drv = get_unused_drive_letter();
+ const char* drv = get_unused_drive_letter();
char buff[PATH_BUFFER_SIZE];
memset(buff, 0, sizeof(buff));