summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-26 19:59:55 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-30 23:49:57 -0400
commit0982c0d95eb4bb986f79038f54ec1697a7255883 (patch)
tree9fb5c7b9f1377b8d2acd78c3f5145fe209e0bba3 /sc
parent6cc029116138add8cdaeddb807882a5d0c038411 (diff)
Use correct sheet index values, to fix sheet name display issue.
Change-Id: I8bafdbe5c30060802016b17a5a2077dfac2317cf
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 198f653d917e..5e020d5d1eab 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -833,7 +833,7 @@ struct ConventionOOO_A1 : public Convention_A1
if (!bSingleRef)
{
rBuffer.append(sal_Unicode(':'));
- MakeOneRefStrImpl(rBuffer, rComp, aRef.Ref2, aAbs2, (aRef.Ref2.nTab != aRef.Ref1.nTab), bODF);
+ MakeOneRefStrImpl(rBuffer, rComp, aRef.Ref2, aAbs2, aAbs1.Tab() != aAbs2.Tab(), bODF);
}
}
if (bODF)