diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:39:50 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:39:50 +0000 |
commit | a86ccb2fecae90fd6d88c6f92984e85dc81cffd9 (patch) | |
tree | f46b2ef5fee24f514bd47fbdae8ce14b3a8dbffd /dbaccess | |
parent | 0e2e35429b12eb624883ce4299938767806807aa (diff) |
INTEGRATION: CWS sb59 (1.29.30); FILE MERGED
2006/08/29 11:44:29 sb 1.29.30.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index a26a19c68ba9..de5dbb901f19 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TokenWriter.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: obo $ $Date: 2006-09-17 07:13:34 $ + * last change: $Author: obo $ $Date: 2006-10-12 13:39:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -706,7 +706,7 @@ OHTMLImportExport::OHTMLImportExport(const ::svx::ODataAccessDescriptor& _aDataD const String& rExchange) : ODatabaseImportExport(_aDataDescriptor,_rM,_rxNumberF,rExchange) ,m_nIndent(0) -#if DBG_UTIL +#ifdef DBG_UTIL ,m_bCheckFont(FALSE) #endif { @@ -1048,7 +1048,7 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I //----------------------------------------------------------------------- void OHTMLImportExport::FontOn() { -#if DBG_UTIL +#ifdef DBG_UTIL m_bCheckFont = TRUE; #endif @@ -1080,7 +1080,7 @@ inline void OHTMLImportExport::FontOff() { DBG_ASSERT(m_bCheckFont,"Kein FontOn() gerufen"); TAG_OFF( sHTML_font ); -#if DBG_UTIL +#ifdef DBG_UTIL m_bCheckFont = FALSE; #endif } @@ -1088,7 +1088,7 @@ inline void OHTMLImportExport::FontOff() void OHTMLImportExport::IncIndent( sal_Int16 nVal ) { sIndent[m_nIndent] = '\t'; - m_nIndent += nVal; + m_nIndent = m_nIndent + nVal; if ( m_nIndent < 0 ) m_nIndent = 0; else if ( m_nIndent > nIndentMax ) |