summaryrefslogtreecommitdiff
path: root/sc/source/core/tool
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-05 02:25:50 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-05 02:54:11 +0100
commit3d49162bfd9737696bb72fb6fcb0ce2478d1359c (patch)
tree50910cec765782765ec932355c635f526913a379 /sc/source/core/tool
parentf81676d11fc9e2ee86c60dafd6201663b6ee202f (diff)
correctly parse range in cond format dlg
Change-Id: I92d19cd71f7f1c9e90b2d3039a5c3c6a0143d1c7
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r--sc/source/core/tool/rangelst.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index c22a1e6a5a2a..a631a1a0e74b 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -185,7 +185,7 @@ ScRangeList::~ScRangeList()
sal_uInt16 ScRangeList::Parse( const String& rStr, ScDocument* pDoc, sal_uInt16 nMask,
formula::FormulaGrammar::AddressConvention eConv,
- sal_Unicode cDelimiter )
+ SCTAB nDefaultTab, sal_Unicode cDelimiter )
{
if ( rStr.Len() )
{
@@ -199,8 +199,7 @@ sal_uInt16 ScRangeList::Parse( const String& rStr, ScDocument* pDoc, sal_uInt16
SCTAB nTab = 0;
if ( pDoc )
{
- //! erste markierte Tabelle gibts nicht mehr am Dokument
- //! -> uebergeben? oder spaeter an den Ranges setzen
+ nTab = nDefaultTab;
}
else
nTab = 0;