summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2000-12-19 17:32:40 +0000
committerSascha Ballach <sab@openoffice.org>2000-12-19 17:32:40 +0000
commitab151775058e55d352c7f76fc1f4c0c0d2ec2bb4 (patch)
tree3ce4bce013c473008dbbfcd772f39b4cd8532e02 /sc/source/filter/xml/XMLDetectiveContext.cxx
parent71b590b639d0adef3858200b884731aec10a1d3d (diff)
check whether could format or parse a address
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 0445afca77e1..20b3e869905e 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLDetectiveContext.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: sab $ $Date: 2000-12-18 14:14:24 $
+ * last change: $Author: sab $ $Date: 2000-12-19 18:32:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -201,8 +201,10 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(
switch( rAttrTokenMap.Get( nPrefix, aLocalName ) )
{
case XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_CELL_RANGE:
- ScXMLConverter::GetRangeFromString( aDetectiveObj.aSourceRange, sValue, GetScImport().GetDocument() );
- bValid = sal_True;
+ {
+ sal_Int32 nOffset(0);
+ bValid = ScXMLConverter::GetRangeFromString( aDetectiveObj.aSourceRange, sValue, GetScImport().GetDocument(), nOffset );
+ }
break;
case XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_DIRECTION:
aDetectiveObj.eObjType = ScXMLConverter::GetDetObjTypeFromString( sValue );