MWS_SRX644: migrate branch mws_srx644 -> HEAD

This commit is contained in:
Jens-Heiner Rechtien 2003-03-26 16:32:47 +00:00
parent fb2dbe00e9
commit caf5f668e4
4 changed files with 11 additions and 11 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: saxwriter.cxx,v $
*
* $Revision: 1.13 $
* $Revision: 1.14 $
*
* last change: $Author: sab $ $Date: 2001-12-12 09:23:09 $
* last change: $Author: hr $ $Date: 2003-03-26 17:32:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -534,7 +534,7 @@ inline void SaxWriterHelper::insertIndentation(sal_uInt32 m_nLevel) throw( SAXEx
pBytes[0] = LINEFEED;
memset( &(pBytes[1]), 32, m_nLevel );
AddBytes(mp_Sequence, nCurrentPos, pBytes, nCount);
delete pBytes;
delete[] pBytes;
nLastLineFeedPos = nCurrentPos - nCount;
if (nCurrentPos == SEQUENCESIZE)
nCurrentPos = writeSequence();

View file

@ -2,9 +2,9 @@
*
* $RCSfile: testsax.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: jbu $ $Date: 2002-05-15 16:35:37 $
* last change: $Author: hr $ $Date: 2003-03-26 17:32:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses

View file

@ -2,9 +2,9 @@
*
* $RCSfile: testwriter.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: jbu $ $Date: 2002-05-15 16:35:38 $
* last change: $Author: hr $ $Date: 2003-03-26 17:32:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -96,7 +96,7 @@ class OFileWriter :
public WeakImplHelper1< XOutputStream >
{
public:
OFileWriter( char *pcFile ) { strcpy( m_pcFile , pcFile ); m_f = 0; }
OFileWriter( char *pcFile ) { strncpy( m_pcFile, pcFile, 256 - 1 ); m_f = 0; }
public:

View file

@ -2,9 +2,9 @@
*
* $RCSfile: saxdemo.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: jbu $ $Date: 2002-05-15 16:36:00 $
* last change: $Author: hr $ $Date: 2003-03-26 17:32:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -479,7 +479,7 @@ class OFileWriter :
public WeakImplHelper1< XOutputStream >
{
public:
OFileWriter( char *pcFile ) { strcpy( m_pcFile , pcFile ); m_f = 0; }
OFileWriter( char *pcFile ) { strncpy( m_pcFile , pcFile, 256 - 1 ); m_f = 0; }
public: