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
458c8023
Kaydet (Commit)
458c8023
authored
Ock 23, 2012
tarafından
Mariusz Dykierek
Kaydeden (comit)
Muthu Subramanian
Ock 23, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed Get*EntryLine? and Get*EntryDistance methods.
üst
9042c4d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
60 deletions
+0
-60
ctrlbox.hxx
svtools/inc/svtools/ctrlbox.hxx
+0
-33
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+0
-24
unusedcode.easy
unusedcode.easy
+0
-3
No files found.
svtools/inc/svtools/ctrlbox.hxx
Dosyayı görüntüle @
458c8023
...
...
@@ -352,16 +352,10 @@ public:
using
ListBox
::
GetEntryPos
;
virtual
sal_uInt16
GetEntryPos
(
sal_uInt16
nStyle
=
STYLE_SOLID
)
const
;
long
GetEntryLine1
(
sal_uInt16
nPos
)
const
;
long
GetEntryLine2
(
sal_uInt16
nPos
)
const
;
long
GetEntryDistance
(
sal_uInt16
nPos
)
const
;
sal_uInt16
GetEntryStyle
(
sal_uInt16
nPos
)
const
;
void
SelectEntry
(
const
XubString
&
rStr
,
sal_Bool
bSelect
=
sal_True
)
{
ListBox
::
SelectEntry
(
rStr
,
bSelect
);
}
void
SelectEntry
(
sal_uInt16
nStyle
=
STYLE_SOLID
,
sal_Bool
bSelect
=
sal_True
);
long
GetSelectEntryLine1
(
sal_uInt16
nSelIndex
=
0
)
const
;
long
GetSelectEntryLine2
(
sal_uInt16
nSelIndex
=
0
)
const
;
long
GetSelectEntryDistance
(
sal_uInt16
nSelIndex
=
0
)
const
;
sal_uInt16
GetSelectEntryStyle
(
sal_uInt16
nSelIndex
=
0
)
const
;
inline
sal_Bool
IsEntrySelected
(
const
XubString
&
rStr
)
const
{
return
ListBox
::
IsEntrySelected
(
rStr
);
}
sal_Bool
IsEntrySelected
(
sal_uInt16
nStyle1
=
STYLE_SOLID
)
const
;
...
...
@@ -389,33 +383,6 @@ private:
void
*
GetEntryData
(
sal_uInt16
nPos
)
const
;
};
inline
long
LineListBox
::
GetSelectEntryLine1
(
sal_uInt16
nSelIndex
)
const
{
sal_uInt16
nPos
=
GetSelectEntryPos
(
nSelIndex
);
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
return
GetEntryLine1
(
nPos
);
else
return
0
;
}
inline
long
LineListBox
::
GetSelectEntryLine2
(
sal_uInt16
nSelIndex
)
const
{
sal_uInt16
nPos
=
GetSelectEntryPos
(
nSelIndex
);
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
return
GetEntryLine2
(
nPos
);
else
return
0
;
}
inline
long
LineListBox
::
GetSelectEntryDistance
(
sal_uInt16
nSelIndex
)
const
{
sal_uInt16
nPos
=
GetSelectEntryPos
(
nSelIndex
);
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
return
GetEntryDistance
(
nPos
);
else
return
0
;
}
inline
sal_Bool
LineListBox
::
IsEntrySelected
(
sal_uInt16
nStyle
)
const
{
sal_uInt16
nPos
=
GetEntryPos
(
nStyle
);
...
...
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
458c8023
...
...
@@ -851,30 +851,6 @@ sal_uInt16 LineListBox::GetEntryPos( sal_uInt16 nStyle ) const
// -----------------------------------------------------------------------
long
LineListBox
::
GetEntryLine1
(
sal_uInt16
nPos
)
const
{
ImpLineListData
*
pData
=
(
nPos
<
pLineList
->
size
())
?
(
*
pLineList
)[
nPos
]
:
NULL
;
return
(
pData
)
?
pData
->
GetLine1ForWidth
(
m_nWidth
)
:
0
;
}
// -----------------------------------------------------------------------
long
LineListBox
::
GetEntryLine2
(
sal_uInt16
nPos
)
const
{
ImpLineListData
*
pData
=
(
nPos
<
pLineList
->
size
())
?
(
*
pLineList
)[
nPos
]
:
NULL
;
return
(
pData
)
?
pData
->
GetLine2ForWidth
(
m_nWidth
)
:
0
;
}
// -----------------------------------------------------------------------
long
LineListBox
::
GetEntryDistance
(
sal_uInt16
nPos
)
const
{
ImpLineListData
*
pData
=
(
nPos
<
pLineList
->
size
())
?
(
*
pLineList
)[
nPos
]
:
NULL
;
return
(
pData
)
?
pData
->
GetDistForWidth
(
m_nWidth
)
:
0
;
}
// -----------------------------------------------------------------------
sal_uInt16
LineListBox
::
GetEntryStyle
(
sal_uInt16
nPos
)
const
{
ImpLineListData
*
pData
=
(
nPos
<
pLineList
->
size
())
?
(
*
pLineList
)[
nPos
]
:
NULL
;
...
...
unusedcode.easy
Dosyayı görüntüle @
458c8023
...
...
@@ -112,9 +112,6 @@ InsCapOptArr::Remove(InsCaptionOpt* const&, unsigned short)
InsCapOptArr::Remove(unsigned short, unsigned short)
ItemList::FindAttrib(unsigned short)
KeyboardSettings::CopyData()
LineListBox::GetEntryDistance(unsigned short) const
LineListBox::GetEntryLine1(unsigned short) const
LineListBox::GetEntryLine2(unsigned short) const
LinkStructArr::DeleteAndDestroy(unsigned short, unsigned short)
LngSvcMgr::RemoveLngSvcEvtBroadcaster(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventBroadcaster> const&)
LocaleDataWrapper::getCollatorImplementations() const
...
...
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