Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
24a2e032
Kaydet (Commit)
24a2e032
authored
Kas 30, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Highlight the reference entry after ensuring that it's mappable.
Change-Id: I9b245c56c58b2db741e7c69c5ad480179db25ee8
üst
af659d4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
xmlsourcedlg.cxx
sc/source/ui/xmlsource/xmlsourcedlg.cxx
+10
-11
No files found.
sc/source/ui/xmlsource/xmlsourcedlg.cxx
Dosyayı görüntüle @
24a2e032
...
@@ -304,17 +304,6 @@ void ScXMLSourceDlg::TreeItemSelected()
...
@@ -304,17 +304,6 @@ void ScXMLSourceDlg::TreeItemSelected()
}
}
mpCurRefEntry
=
getReferenceEntry
(
maLbTree
,
pEntry
);
mpCurRefEntry
=
getReferenceEntry
(
maLbTree
,
pEntry
);
if
(
mpCurRefEntry
!=
pEntry
)
{
// Highlight the reference entry if it differs from the current entry.
SvViewDataEntry
*
pView
=
maLbTree
.
GetViewDataEntry
(
mpCurRefEntry
);
if
(
pView
)
{
pView
->
SetHighlighted
(
true
);
maLbTree
.
PaintEntry
(
mpCurRefEntry
);
maHighlightedEntries
.
push_back
(
mpCurRefEntry
);
}
}
ScOrcusXMLTreeParam
::
EntryData
*
pUserData
=
ScOrcusXMLTreeParam
::
getUserData
(
*
mpCurRefEntry
);
ScOrcusXMLTreeParam
::
EntryData
*
pUserData
=
ScOrcusXMLTreeParam
::
getUserData
(
*
mpCurRefEntry
);
OSL_ASSERT
(
pUserData
);
OSL_ASSERT
(
pUserData
);
...
@@ -404,6 +393,16 @@ void ScXMLSourceDlg::RepeatElementSelected(SvTreeListEntry& rEntry)
...
@@ -404,6 +393,16 @@ void ScXMLSourceDlg::RepeatElementSelected(SvTreeListEntry& rEntry)
return
;
return
;
}
}
SvViewDataEntry
*
p
=
maLbTree
.
GetViewDataEntry
(
&
rEntry
);
if
(
!
p
->
IsHighlighted
())
{
// Highlight the entry if not highlighted already. This can happen
// when the current entry is a child entry of a repeat element entry.
p
->
SetHighlighted
(
true
);
maLbTree
.
PaintEntry
(
&
rEntry
);
maHighlightedEntries
.
push_back
(
&
rEntry
);
}
SelectAllChildEntries
(
rEntry
);
SelectAllChildEntries
(
rEntry
);
SetRangeLinkable
();
SetRangeLinkable
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment