summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xecontent.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 09:45:56 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 09:45:56 +0000
commit949b110dbe79df717c7ffadcb06a6d85396b5ef2 (patch)
tree1fdd1345b1855a36d9fce33d7e1203078c176f7b /sc/source/filter/excel/xecontent.cxx
parent0f2c3238a708a46938424d6f1244205bc92efda6 (diff)
INTEGRATION: CWS rowlimit (1.7.18); FILE MERGED
2004/03/19 20:55:17 er 1.7.18.1: #i1967# type correctness
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-rw-r--r--sc/source/filter/excel/xecontent.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 5474199c0d98..c90c2420d584 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xecontent.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2004-03-02 09:36:16 $
+ * last change: $Author: obo $ $Date: 2004-06-04 10:45:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -509,7 +509,7 @@ void XclExpHyperlink::WriteBody( XclExpStream& rStrm )
XclExpLabelranges::XclExpLabelranges( const XclExpRoot& rRoot ) :
XclExpRecord( EXC_ID_LABELRANGES )
{
- USHORT nScTab = rRoot.GetCurrScTab();
+ SCTAB nScTab = rRoot.GetCurrScTab();
// row label ranges
FillRangeList( maRowRanges, rRoot.GetDoc().GetRowNameRangesRef(), nScTab );
@@ -526,7 +526,7 @@ XclExpLabelranges::XclExpLabelranges( const XclExpRoot& rRoot ) :
SetRecSize( 4 + 8 * (maRowRanges.Count() + maColRanges.Count()) );
}
-void XclExpLabelranges::FillRangeList( ScRangeList& rRanges, ScRangePairListRef xLabelRangesRef, USHORT nScTab )
+void XclExpLabelranges::FillRangeList( ScRangeList& rRanges, ScRangePairListRef xLabelRangesRef, SCTAB nScTab )
{
for( const ScRangePair* pRangePair = xLabelRangesRef->First(); pRangePair; pRangePair = xLabelRangesRef->Next() )
{
@@ -1253,7 +1253,7 @@ void XclExpWebQuery::Save( XclExpStream& rStrm )
XclExpWebQueryBuffer::XclExpWebQueryBuffer( const XclExpRoot& rRoot )
{
- USHORT nScTab = rRoot.GetCurrScTab();
+ SCTAB nScTab = rRoot.GetCurrScTab();
ScDocument& rDoc = rRoot.GetDoc();
SfxObjectShell* pShell = rRoot.GetDocShell();
if( !pShell ) return;
@@ -1282,7 +1282,7 @@ XclExpWebQueryBuffer::XclExpWebQueryBuffer( const XclExpRoot& rRoot )
if( aLinkAny >>= xAreaLink )
{
CellRangeAddress aDestRange( xAreaLink->getDestArea() );
- if( static_cast< USHORT >( aDestRange.Sheet ) == nScTab )
+ if( aDestRange.Sheet == nScTab )
{
Reference< XPropertySet > xLinkProp( xAreaLink, UNO_QUERY );
if( xLinkProp.is() && ::getPropValue( aFilter, xLinkProp, aPropFilter ) && (aFilter == aWebQueryFilter) )
@@ -1308,7 +1308,7 @@ XclExpWebQueryBuffer::XclExpWebQueryBuffer( const XclExpRoot& rRoot )
{
ExcName* pExcName = new ExcName( *rRoot.mpRD, aScDestRange, aUrlObj.getBase() );
aRangeName = pExcName->GetName();
- rRoot.mpRD->pNameList->InsertSorted( *rRoot.mpRD, pExcName, nScTab );
+ rRoot.mpRD->pNameList->InsertSorted( *rRoot.mpRD, pExcName, static_cast<sal_uInt16>(nScTab) );
}
// create and store the web query record