diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-14 01:37:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-15 09:21:48 +0100 |
commit | 9124003eb1e398957a85c5c009ac5eddf5e6f28e (patch) | |
tree | d1348216600b18f3daa08224a4d4492b53337813 /svtools/bmpmaker | |
parent | SvByteStringsSortDtor is now finally gone (diff) | |
download | core-9124003eb1e398957a85c5c009ac5eddf5e6f28e.tar.gz core-9124003eb1e398957a85c5c009ac5eddf5e6f28e.zip |
ByteString::IsNumericAscii->comphelper::string::isAsciiDecimalString
shrink ByteString api, remove need for intermediate OString/ByteString
with random-ish encoding solely for check
Diffstat (limited to 'svtools/bmpmaker')
-rw-r--r-- | svtools/bmpmaker/bmpcore.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/bmpmaker/bmpcore.cxx b/svtools/bmpmaker/bmpcore.cxx index 622cce494a71..c4f8db80f356 100644 --- a/svtools/bmpmaker/bmpcore.cxx +++ b/svtools/bmpmaker/bmpcore.cxx @@ -29,6 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_svtools.hxx" +#include <comphelper/string.hxx> #include <tools/color.hxx> #include <vcl/bmpacc.hxx> #include <vcl/bitmapex.hxx> @@ -133,7 +134,7 @@ void BmpCreator::ImplCreate( const ::std::vector< DirEntry >& rInDirs, aLine.EraseLeadingChars( '\t' ); aLine.EraseAllChars( ';' ); - if( aLine.IsNumericAscii() ) + if (comphelper::string::isAsciiDecimalString(aLine)) { aString = aPrefix; |