summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-10 22:17:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-11 11:10:38 +0100
commit8564eb0d6a7c8bd01bb217a18f8ab74d4e36411a (patch)
tree58ec8b011514a158d87baf3047dd090dc7d4d7c1
parent7488e1107c461b529c1c8771fd98488588fe8645 (diff)
ByteString::ToInt64->rtl::OString::toInt64
-rw-r--r--vcl/unx/generic/fontmanager/fontcache.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/fontmanager/fontcache.cxx b/vcl/unx/generic/fontmanager/fontcache.cxx
index e47c95ec07ca..b88d244b04e9 100644
--- a/vcl/unx/generic/fontmanager/fontcache.cxx
+++ b/vcl/unx/generic/fontmanager/fontcache.cxx
@@ -295,7 +295,8 @@ void FontCache::read()
xub_StrLen nTEnd = aLine.Search( ':', nSearchIndex );
if( nTEnd != STRING_NOTFOUND )
{
- nTimestamp = aLine.Copy( nSearchIndex, nTEnd - nSearchIndex ).ToInt64();
+ rtl::OString aTimeStamp = aLine.Copy( nSearchIndex, nTEnd - nSearchIndex );
+ nTimestamp = aTimeStamp.toInt64();
aDir = aLine.Copy( nTEnd+1 );
}
else