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
8a6de827
Kaydet (Commit)
8a6de827
authored
Mar 21, 2015
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Since nCategory is unused, Lb2Cat can be removed
Change-Id: If7f3132859216e84729a368a891cd624853e8757
üst
3bff0443
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
funcpage.cxx
formula/source/ui/dlg/funcpage.cxx
+0
-13
No files found.
formula/source/ui/dlg/funcpage.cxx
Dosyayı görüntüle @
8a6de827
...
...
@@ -62,15 +62,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeFormulaListBox(vcl::Wi
return
new
FormulaListBox
(
pParent
,
WB_BORDER
|
WB_SORT
);
}
inline
sal_uInt16
Lb2Cat
(
sal_uInt16
nLbPos
)
{
// Category 0 == LRU, otherwise Categories == LbPos-1
if
(
nLbPos
>
0
)
nLbPos
-=
1
;
return
nLbPos
;
}
FuncPage
::
FuncPage
(
vcl
::
Window
*
pParent
,
const
IFunctionManager
*
_pFunctionManager
)
:
TabPage
(
pParent
,
"FunctionPage"
,
"formula/ui/functionpage.ui"
),
m_pFunctionManager
(
_pFunctionManager
)
...
...
@@ -115,10 +106,6 @@ void FuncPage::UpdateFunctionList()
{
sal_Int32
nSelPos
=
m_pLbCategory
->
GetSelectEntryPos
();
const
IFunctionCategory
*
pCategory
=
static_cast
<
const
IFunctionCategory
*>
(
m_pLbCategory
->
GetEntryData
(
nSelPos
));
sal_Int32
nCategory
=
(
LISTBOX_ENTRY_NOTFOUND
!=
nSelPos
)
?
Lb2Cat
(
nSelPos
)
:
0
;
(
void
)
nCategory
;
m_pLbFunction
->
Clear
();
m_pLbFunction
->
SetUpdateMode
(
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