diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:48:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:48:54 +0000 |
commit | 474fe086fecb82da1691158bbce22289cc92f4e4 (patch) | |
tree | c8598401600050e5281aa0ec0c7b2473aa32046d /sc/source/filter/excel/xltracer.cxx | |
parent | d118c9d1108f325e7c9fce096dde31a3965cdb4e (diff) |
INTEGRATION: CWS rowlimit (1.3.18); FILE MERGED
2004/03/21 19:38:30 jmarmion 1.3.18.4: #i1967# step 5 changes.
2004/03/19 15:58:30 er 1.3.18.3: #i1967# type correctness
2004/03/15 17:34:23 er 1.3.18.2: RESYNC: (1.3-1.4); FILE MERGED
2003/11/28 19:47:50 er 1.3.18.1: #i1967# move ScAddress, ScRange from global.hxx to address.hxx
Diffstat (limited to 'sc/source/filter/excel/xltracer.cxx')
-rw-r--r-- | sc/source/filter/excel/xltracer.cxx | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/sc/source/filter/excel/xltracer.cxx b/sc/source/filter/excel/xltracer.cxx index c95e4765c2d8..e4f73a6e9ffa 100644 --- a/sc/source/filter/excel/xltracer.cxx +++ b/sc/source/filter/excel/xltracer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xltracer.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-03-02 09:40:42 $ + * last change: $Author: obo $ $Date: 2004-06-04 10:48:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,6 +69,10 @@ #include <svx/msfiltertracer.hxx> #endif +#ifndef SC_ADDRESS_HXX +#include "address.hxx" +#endif + using ::rtl::OUString; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::PropertyValue; @@ -175,10 +179,10 @@ void XclTracer::TraceLog( XclTracerId eProblem, sal_Int32 nValue ) switch (eProblem) { case eRowLimitExceeded: - Context(eProblem,static_cast<sal_uInt16>(nValue)); + Context(eProblem,static_cast<SCTAB>(nValue)); break; case eTabLimitExceeded: - Context(eProblem,static_cast<sal_uInt16>(nValue)); + Context(eProblem,static_cast<SCTAB>(nValue)); break; default: Context(eProblem); @@ -188,7 +192,7 @@ void XclTracer::TraceLog( XclTracerId eProblem, sal_Int32 nValue ) } } -void XclTracer::Context( XclTracerId eProblem, sal_uInt16 nTab ) +void XclTracer::Context( XclTracerId eProblem, SCTAB nTab ) { OUString sContext = rtl::OUString ::createFromAscii(pTracerDetails[eProblem].mpContext); OUString sDetail = rtl::OUString ::createFromAscii(pTracerDetails[eProblem].mpDetail); @@ -205,7 +209,7 @@ void XclTracer::Context( XclTracerId eProblem, sal_uInt16 nTab ) AddAttribute(sContext, sDetail); } -void XclTracer::ProcessTraceOnce(XclTracerId eProblem, sal_uInt16 nTab) +void XclTracer::ProcessTraceOnce(XclTracerId eProblem, SCTAB nTab) { if( mbEnabled && maFirstTimes[eProblem]) { @@ -220,13 +224,13 @@ void XclTracer::TraceInvalidAddress( const ScAddress& rPos, const ScAddress& rMa TraceInvalidTab(rPos.Tab(), rMaxPos.Tab()); } -void XclTracer::TraceInvalidRow( sal_uInt16 nTab, sal_uInt32 nRow, sal_uInt32 nMaxRow ) +void XclTracer::TraceInvalidRow( SCTAB nTab, sal_uInt32 nRow, sal_uInt32 nMaxRow ) { if(nRow > nMaxRow) ProcessTraceOnce(eRowLimitExceeded, nTab); } -void XclTracer::TraceInvalidTab( sal_uInt16 nTab, sal_uInt16 nMaxTab ) +void XclTracer::TraceInvalidTab( SCTAB nTab, SCTAB nMaxTab ) { if(nTab > nMaxTab) ProcessTraceOnce(eTabLimitExceeded, nTab); |