diff options
Diffstat (limited to 'cosv/source')
-rw-r--r-- | cosv/source/comphelp/badcast.cxx | 2 | ||||
-rw-r--r-- | cosv/source/inc/precomp.h | 2 | ||||
-rw-r--r-- | cosv/source/service/comdline.cxx | 2 | ||||
-rw-r--r-- | cosv/source/service/comfunc.cxx | 2 | ||||
-rw-r--r-- | cosv/source/service/commandline.cxx | 2 | ||||
-rw-r--r-- | cosv/source/service/csv_ostream.cxx | 4 | ||||
-rw-r--r-- | cosv/source/service/datetime.cxx | 22 | ||||
-rw-r--r-- | cosv/source/service/std_outp.cxx | 2 | ||||
-rw-r--r-- | cosv/source/storage/dirchain.cxx | 2 | ||||
-rw-r--r-- | cosv/source/storage/file.cxx | 26 | ||||
-rw-r--r-- | cosv/source/storage/mbstream.cxx | 10 | ||||
-rw-r--r-- | cosv/source/storage/persist.cxx | 4 | ||||
-rw-r--r-- | cosv/source/storage/ploc.cxx | 2 | ||||
-rw-r--r-- | cosv/source/storage/ploc_dir.cxx | 16 | ||||
-rw-r--r-- | cosv/source/storage/plocroot.cxx | 4 | ||||
-rw-r--r-- | cosv/source/strings/str_types.cxx | 2 | ||||
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 14 | ||||
-rw-r--r-- | cosv/source/strings/string.cxx | 2 | ||||
-rw-r--r-- | cosv/source/unittest/file_ut.cxx | 2 | ||||
-rw-r--r-- | cosv/source/unittest/string_ut.cxx | 2 | ||||
-rw-r--r-- | cosv/source/unittest/ut.hxx | 2 | ||||
-rw-r--r-- | cosv/source/unittest/ut_main.cxx | 2 |
22 files changed, 64 insertions, 64 deletions
diff --git a/cosv/source/comphelp/badcast.cxx b/cosv/source/comphelp/badcast.cxx index 37a763967dc1..429671e392d9 100644 --- a/cosv/source/comphelp/badcast.cxx +++ b/cosv/source/comphelp/badcast.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/inc/precomp.h b/cosv/source/inc/precomp.h index f405f1c20614..e1c5e0d4542f 100644 --- a/cosv/source/inc/precomp.h +++ b/cosv/source/inc/precomp.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/service/comdline.cxx b/cosv/source/service/comdline.cxx index dd65c4909cfd..00393c466e5d 100644 --- a/cosv/source/service/comdline.cxx +++ b/cosv/source/service/comdline.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/service/comfunc.cxx b/cosv/source/service/comfunc.cxx index 73c4c8a63ce8..82d0ae83dd14 100644 --- a/cosv/source/service/comfunc.cxx +++ b/cosv/source/service/comfunc.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/service/commandline.cxx b/cosv/source/service/commandline.cxx index cfaf01d9a416..c3983e6e2ef1 100644 --- a/cosv/source/service/commandline.cxx +++ b/cosv/source/service/commandline.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/service/csv_ostream.cxx b/cosv/source/service/csv_ostream.cxx index b1299fe21d1b..27fd4904c0c6 100644 --- a/cosv/source/service/csv_ostream.cxx +++ b/cosv/source/service/csv_ostream.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,7 +29,7 @@ #include <precomp.h> #include <cosv/csv_ostream.hxx> -// NOT FULLY DECLARED SERVICES +// NOT FULLY DECLARED SERVICES #ifndef CSV_NO_IOSTREAMS diff --git a/cosv/source/service/datetime.cxx b/cosv/source/service/datetime.cxx index 277197ab0fa6..6738f55a0815 100644 --- a/cosv/source/service/datetime.cxx +++ b/cosv/source/service/datetime.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,14 +39,14 @@ namespace csv Date::Date() - : nData( 0 ) + : nData( 0 ) { } -Date::Date( unsigned i_nDay, - unsigned i_nMonth, - unsigned i_nYear ) - : nData( (i_nDay << 24) + (i_nMonth << 16) + i_nYear ) +Date::Date( unsigned i_nDay, + unsigned i_nMonth, + unsigned i_nYear ) + : nData( (i_nDay << 24) + (i_nMonth << 16) + i_nYear ) { } @@ -59,15 +59,15 @@ Date::Null_() Time::Time() - : nData( 0 ) + : nData( 0 ) { } -Time::Time( unsigned i_nHour, - unsigned i_nMinutes, - unsigned i_nSeconds, +Time::Time( unsigned i_nHour, + unsigned i_nMinutes, + unsigned i_nSeconds, unsigned i_nSeconds100 ) - : nData( (i_nHour << 24) + (i_nMinutes << 16) + (i_nSeconds << 8) + i_nSeconds100 ) + : nData( (i_nHour << 24) + (i_nMinutes << 16) + (i_nSeconds << 8) + i_nSeconds100 ) { } diff --git a/cosv/source/service/std_outp.cxx b/cosv/source/service/std_outp.cxx index e958019f12b3..18bc34bcf386 100644 --- a/cosv/source/service/std_outp.cxx +++ b/cosv/source/service/std_outp.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/storage/dirchain.cxx b/cosv/source/storage/dirchain.cxx index c9c0d24f5f8f..52683c25daa6 100644 --- a/cosv/source/storage/dirchain.cxx +++ b/cosv/source/storage/dirchain.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/storage/file.cxx b/cosv/source/storage/file.cxx index 1313b62c2fc1..7227476f8088 100644 --- a/cosv/source/storage/file.cxx +++ b/cosv/source/storage/file.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,25 +37,25 @@ namespace csv File::File( uintt i_nMode ) - : // aPath, + : // aPath, pStream(0), nMode(i_nMode), eLastIO(io_none) { } -File::File( const ploc::Path & i_rLocation, - uintt i_nMode ) - : aPath(i_rLocation), +File::File( const ploc::Path & i_rLocation, + uintt i_nMode ) + : aPath(i_rLocation), pStream(0), nMode(i_nMode), eLastIO(io_none) { } -File::File( const char * i_sLocation, - uintt i_nMode ) - : aPath(i_sLocation), +File::File( const char * i_sLocation, + uintt i_nMode ) + : aPath(i_sLocation), pStream(0), nMode(i_nMode), eLastIO(io_none) @@ -63,8 +63,8 @@ File::File( const char * i_sLocation, } File::File( const String & i_sLocation, - uintt i_nMode ) - : aPath(i_sLocation), + uintt i_nMode ) + : aPath(i_sLocation), pStream(0), nMode(i_nMode), eLastIO(io_none) @@ -111,7 +111,7 @@ File::Assign( const String & i_sLocation ) } uintt -File::do_read( void * out_pDest, +File::do_read( void * out_pDest, uintt i_nNrofBytes ) { if ( NOT inq_is_open() ) @@ -139,7 +139,7 @@ File::inq_eod() const } uintt -File::do_write( const void * i_pSrc, +File::do_write( const void * i_pSrc, uintt i_nNrofBytes ) { if ( NOT inq_is_open() ) @@ -156,7 +156,7 @@ File::do_write( const void * i_pSrc, } uintt -File::do_seek( intt i_nDistance, +File::do_seek( intt i_nDistance, seek_dir i_eStartPoint ) { if ( NOT inq_is_open() ) diff --git a/cosv/source/storage/mbstream.cxx b/cosv/source/storage/mbstream.cxx index c9abc90ea90b..c1bea8b5202a 100644 --- a/cosv/source/storage/mbstream.cxx +++ b/cosv/source/storage/mbstream.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ namespace csv mbstream::mbstream( uintt i_nSize ) - : dpOwnedMemorySpace( new char[i_nSize+1] ), + : dpOwnedMemorySpace( new char[i_nSize+1] ), nSize( i_nSize ), nCurPosition( 0 ) { @@ -62,7 +62,7 @@ mbstream::resize( uintt i_nSize ) } uintt -mbstream::do_read( void * out_pDest, +mbstream::do_read( void * out_pDest, uintt i_nNrofBytes ) { uintt ret = min( i_nNrofBytes, nSize - nCurPosition ); @@ -78,7 +78,7 @@ mbstream::inq_eod() const } uintt -mbstream::do_write( const void * i_pSrc, +mbstream::do_write( const void * i_pSrc, uintt i_nNrofBytes ) { resize( max( 3 * (nSize+1) / 2, nCurPosition + i_nNrofBytes) ); @@ -88,7 +88,7 @@ mbstream::do_write( const void * i_pSrc, } uintt -mbstream::do_seek( intt i_nDistance, +mbstream::do_seek( intt i_nDistance, seek_dir i_eStartPoint ) { switch ( i_eStartPoint ) diff --git a/cosv/source/storage/persist.cxx b/cosv/source/storage/persist.cxx index 9ba40564a73b..9fcbfa8ce3df 100644 --- a/cosv/source/storage/persist.cxx +++ b/cosv/source/storage/persist.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -59,7 +59,7 @@ Persistent::Exists() const #ifndef __SUNPRO_CC #include <unistd.h> #else -#define F_OK 0 // Test for existence of File +#define F_OK 0 // Test for existence of File extern int access(const char *, int); #endif */ diff --git a/cosv/source/storage/ploc.cxx b/cosv/source/storage/ploc.cxx index 6d75a03543ab..000eafd7106c 100644 --- a/cosv/source/storage/ploc.cxx +++ b/cosv/source/storage/ploc.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/storage/ploc_dir.cxx b/cosv/source/storage/ploc_dir.cxx index fb4a84ac94e3..7770502fc962 100644 --- a/cosv/source/storage/ploc_dir.cxx +++ b/cosv/source/storage/ploc_dir.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -179,7 +179,7 @@ Directory::GetContainedDirectories( StringVector & o_rResult ) const void Directory::GetContainedFiles( StringVector & o_rResult, - const char * i_sFilter, + const char * i_sFilter, E_Recursivity i_eRecursivity ) const { StreamStr sNew(240); @@ -203,7 +203,7 @@ Directory::GetContainedFiles( StringVector & o_rResult, sNew << aEntry.name; String sNewAsString( sNew.c_str() ); o_rResult.push_back(sNewAsString); - } // end for + } // end for _findclose(hFile); if ( i_eRecursivity == flat ) @@ -256,7 +256,7 @@ Directory::GetContainedDirectories( StringVector & o_rResult ) const DIR * pDir = opendir( StrPath() ); dirent * pEntry = 0; - struct stat aEntryStatus; + struct stat aEntryStatus; while ( (pEntry = readdir(pDir)) != 0 ) { @@ -270,13 +270,13 @@ Directory::GetContainedDirectories( StringVector & o_rResult ) const String sNew2(pEntry->d_name); o_rResult.push_back(sNew2); } // endif (aEntry.attrib == _A_SUBDIR) - } // end while + } // end while closedir( pDir ); } void Directory::GetContainedFiles( StringVector & o_rResult, - const char * i_sFilter, + const char * i_sFilter, E_Recursivity i_eRecursivity ) const { StreamStr sNew(240); @@ -289,7 +289,7 @@ Directory::GetContainedFiles( StringVector & o_rResult, DIR * pDir = opendir( StrPath() ); dirent * pEntry = 0; - struct stat aEntryStatus; + struct stat aEntryStatus; while ( (pEntry = readdir(pDir)) != 0 ) { @@ -313,7 +313,7 @@ Directory::GetContainedFiles( StringVector & o_rResult, sNew << pEntry->d_name; String sNewAsString( sNew.c_str() ); o_rResult.push_back(sNewAsString); - } // end while + } // end while closedir( pDir ); if ( i_eRecursivity == flat ) diff --git a/cosv/source/storage/plocroot.cxx b/cosv/source/storage/plocroot.cxx index 70c8c6817cfc..c2ae0a6fffc1 100644 --- a/cosv/source/storage/plocroot.cxx +++ b/cosv/source/storage/plocroot.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -179,7 +179,7 @@ Create_WindowsRoot( const char * & o_sPathAfterRoot, return new WinRootDir; } } - else if (i_sPath[1] == ':') + else if (i_sPath[1] == ':') { if ( i_sPath[2] == '\\') { diff --git a/cosv/source/strings/str_types.cxx b/cosv/source/strings/str_types.cxx index aa3025f09c63..386dac63961b 100644 --- a/cosv/source/strings/str_types.cxx +++ b/cosv/source/strings/str_types.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index 009bacff43f3..0ae9dfd8a876 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,7 +33,7 @@ #include <string.h> #include <stdio.h> #include <stdarg.h> // both are needed to satisfy all compilers -#include <cstdarg> // std::va_list and friends +#include <cstdarg> // std::va_list and friends #include <cosv/comfunc.hxx> #include <cosv/tpl/swelist.hxx> @@ -85,7 +85,7 @@ StreamStr::StreamStr( const char * i_sInitStr, } StreamStr::StreamStr( size_type i_nGuessedCapacity, - const char * str1, + const char * str1, const char * str2, ... ) : bostream(), @@ -714,8 +714,8 @@ StreamStr::to_lower( position_type i_nStart, if ( i_nStart < length() ) { char * pStop = i_nStart + i_nLength < length() - ? dpData + i_nStart + i_nLength - : pEnd; + ? dpData + i_nStart + i_nLength + : pEnd; for ( char * pChange = dpData + i_nStart; pChange != pStop; ++pChange ) @@ -745,8 +745,8 @@ StreamStr::to_upper( position_type i_nStart, if ( i_nStart < length() ) { char * pStop = i_nStart + i_nLength < length() - ? dpData + i_nStart + i_nLength - : pEnd; + ? dpData + i_nStart + i_nLength + : pEnd; for ( char * pChange = dpData + i_nStart; pChange != pStop; ++pChange ) diff --git a/cosv/source/strings/string.cxx b/cosv/source/strings/string.cxx index 5d09218e10c1..7a7429ecee06 100644 --- a/cosv/source/strings/string.cxx +++ b/cosv/source/strings/string.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/unittest/file_ut.cxx b/cosv/source/unittest/file_ut.cxx index 80af885f0edf..0a8c6e17e81b 100644 --- a/cosv/source/unittest/file_ut.cxx +++ b/cosv/source/unittest/file_ut.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/unittest/string_ut.cxx b/cosv/source/unittest/string_ut.cxx index fe3bbb8aa118..d00e6067ee1b 100644 --- a/cosv/source/unittest/string_ut.cxx +++ b/cosv/source/unittest/string_ut.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/unittest/ut.hxx b/cosv/source/unittest/ut.hxx index 561e58437fd0..45982af83653 100644 --- a/cosv/source/unittest/ut.hxx +++ b/cosv/source/unittest/ut.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/cosv/source/unittest/ut_main.cxx b/cosv/source/unittest/ut_main.cxx index 0337dc74ba4a..a448708f847f 100644 --- a/cosv/source/unittest/ut_main.cxx +++ b/cosv/source/unittest/ut_main.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite |