printerjob.cxx (c82f2877) printerjob.cxx (24c56ab9)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 347 unchanged lines hidden (view full) ---

356
357 return asctime_r(pLocalTime, pBuffer);
358}
359
360}
361
362static bool isAscii( const rtl::OUString& rStr )
363{
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 347 unchanged lines hidden (view full) ---

356
357 return asctime_r(pLocalTime, pBuffer);
358}
359
360}
361
362static bool isAscii( const rtl::OUString& rStr )
363{
364 const sal_Unicode* pStr = rStr;
364 const sal_Unicode* pStr = rStr.getStr();
365 sal_Int32 nLen = rStr.getLength();
366 for( sal_Int32 i = 0; i < nLen; i++ )
367 if( pStr[i] > 127 )
368 return false;
369 return true;
370}
371
372sal_Bool

--- 828 unchanged lines hidden ---
365 sal_Int32 nLen = rStr.getLength();
366 for( sal_Int32 i = 0; i < nLen; i++ )
367 if( pStr[i] > 127 )
368 return false;
369 return true;
370}
371
372sal_Bool

--- 828 unchanged lines hidden ---