summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-12 23:53:44 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:26 -0500
commit35c5281f7422f55f069c2eadd1b7b7bd8a0dc34b (patch)
treea40dead363eff0df0a998470fc6e87cb5c333fe4 /sc
parent6fb12c68756b5f2b41fd39571603096545efae09 (diff)
When setting a link position to a repeat element, set the range parent flag.
Change-Id: I86b999297f96c4a2e55682d1da9a6c2e62f5f472
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index 4a0684d66366..b9d518b75651 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -99,6 +99,7 @@ void ScXMLSourceDlg::SetReference(const ScRange& rRange, ScDocument* pDoc)
return;
pUserData->maLinkedPos = rRange.aStart;
+ pUserData->mbRangeParent = pUserData->meType == ScOrcusXMLTreeParam::ElementRepeat;
}
void ScXMLSourceDlg::Deactivate()