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
2119f464
Kaydet (Commit)
2119f464
authored
Ara 19, 2011
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't set current entry for every entry during init
üst
2cc7b083
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
namemgrtable.hxx
sc/source/ui/inc/namemgrtable.hxx
+1
-1
namemgrtable.cxx
sc/source/ui/namedlg/namemgrtable.cxx
+4
-3
No files found.
sc/source/ui/inc/namemgrtable.hxx
Dosyayı görüntüle @
2119f464
...
@@ -81,7 +81,7 @@ public:
...
@@ -81,7 +81,7 @@ public:
ScRangeManagerTable
(
Window
*
pParent
,
boost
::
ptr_map
<
rtl
::
OUString
,
ScRangeName
>&
aTabRangeNames
);
ScRangeManagerTable
(
Window
*
pParent
,
boost
::
ptr_map
<
rtl
::
OUString
,
ScRangeName
>&
aTabRangeNames
);
virtual
~
ScRangeManagerTable
();
virtual
~
ScRangeManagerTable
();
void
addEntry
(
const
ScRangeNameLine
&
rLine
);
void
addEntry
(
const
ScRangeNameLine
&
rLine
,
bool
bSetCurEntry
=
true
);
void
DeleteSelectedEntries
();
void
DeleteSelectedEntries
();
void
SetEntry
(
const
ScRangeNameLine
&
rLine
);
void
SetEntry
(
const
ScRangeNameLine
&
rLine
);
...
...
sc/source/ui/namedlg/namemgrtable.cxx
Dosyayı görüntüle @
2119f464
...
@@ -104,10 +104,11 @@ ScRangeManagerTable::~ScRangeManagerTable()
...
@@ -104,10 +104,11 @@ ScRangeManagerTable::~ScRangeManagerTable()
Clear
();
Clear
();
}
}
void
ScRangeManagerTable
::
addEntry
(
const
ScRangeNameLine
&
rLine
)
void
ScRangeManagerTable
::
addEntry
(
const
ScRangeNameLine
&
rLine
,
bool
bSetCurEntry
)
{
{
SvLBoxEntry
*
pEntry
=
InsertEntryToColumn
(
createEntryString
(
rLine
),
LIST_APPEND
,
0xffff
);
SvLBoxEntry
*
pEntry
=
InsertEntryToColumn
(
createEntryString
(
rLine
),
LIST_APPEND
,
0xffff
);
SetCurEntry
(
pEntry
);
if
(
bSetCurEntry
)
SetCurEntry
(
pEntry
);
}
}
void
ScRangeManagerTable
::
GetCurrentLine
(
ScRangeNameLine
&
rLine
)
void
ScRangeManagerTable
::
GetCurrentLine
(
ScRangeNameLine
&
rLine
)
...
@@ -141,7 +142,7 @@ void ScRangeManagerTable::Init()
...
@@ -141,7 +142,7 @@ void ScRangeManagerTable::Init()
if
(
!
it
->
second
->
HasType
(
RT_DATABASE
)
&&
!
it
->
second
->
HasType
(
RT_SHARED
))
if
(
!
it
->
second
->
HasType
(
RT_DATABASE
)
&&
!
it
->
second
->
HasType
(
RT_SHARED
))
{
{
aLine
.
aName
=
it
->
second
->
GetName
();
aLine
.
aName
=
it
->
second
->
GetName
();
addEntry
(
aLine
);
addEntry
(
aLine
,
false
);
}
}
}
}
}
}
...
...
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