Kaydet (Commit) 3324eca4 authored tarafından Caolán McNamara's avatar Caolán McNamara

ByteString->rtl::OString

üst 42fc17bf
...@@ -1635,7 +1635,7 @@ void ODriver::checkAndInsertNewDevSpace(const ::rtl::OUString& sDBName, ...@@ -1635,7 +1635,7 @@ void ODriver::checkAndInsertNewDevSpace(const ::rtl::OUString& sDBName,
UCBContentHelper::Kill(sCommandFile); UCBContentHelper::Kill(sCommandFile);
#endif #endif
SvStream* pFileStream = aCmdFile.GetStream(STREAM_STD_READWRITE); SvStream* pFileStream = aCmdFile.GetStream(STREAM_STD_READWRITE);
ByteString sStateLine; rtl::OString sStateLine;
sal_Bool bRead = sal_True; sal_Bool bRead = sal_True;
sal_Int32 nDataPages = 0; sal_Int32 nDataPages = 0;
while(pFileStream && bRead && !pFileStream->IsEof()) while(pFileStream && bRead && !pFileStream->IsEof())
...@@ -1643,7 +1643,7 @@ void ODriver::checkAndInsertNewDevSpace(const ::rtl::OUString& sDBName, ...@@ -1643,7 +1643,7 @@ void ODriver::checkAndInsertNewDevSpace(const ::rtl::OUString& sDBName,
bRead = pFileStream->ReadLine(sStateLine); bRead = pFileStream->ReadLine(sStateLine);
if(bRead) if(bRead)
{ {
nDataPages = sStateLine.ToInt32(); nDataPages = sStateLine.toInt32();
if(nDataPages && nDataPages < 100) if(nDataPages && nDataPages < 100)
{ {
// the space isn't big enough anymore so we increment it // the space isn't big enough anymore so we increment it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment