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
98818ee5
Kaydet (Commit)
98818ee5
authored
Ara 15, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mnTabPageResId is not used anywhere, continue to skip the resource though
Change-Id: Ief4707613352b1382fb23e5914fd05f6c7618327
üst
68d421bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
tabctrl.cxx
vcl/source/control/tabctrl.cxx
+3
-5
No files found.
vcl/source/control/tabctrl.cxx
Dosyayı görüntüle @
98818ee5
...
...
@@ -43,7 +43,6 @@
struct
ImplTabItem
{
sal_uInt16
mnId
;
sal_uInt16
mnTabPageResId
;
TabPage
*
mpTabPage
;
String
maText
;
String
maFormatText
;
...
...
@@ -56,7 +55,7 @@ struct ImplTabItem
Image
maTabImage
;
ImplTabItem
()
:
mnId
(
0
),
m
nTabPageResId
(
0
),
m
pTabPage
(
NULL
),
:
mnId
(
0
),
mpTabPage
(
NULL
),
mnLine
(
0
),
mbFullVisible
(
sal_False
),
mbEnabled
(
true
)
{}
};
...
...
@@ -1652,8 +1651,8 @@ void TabControl::InsertPage( const ResId& rResId, sal_uInt16 nPos )
// PageResID
if
(
nObjMask
&
RSC_TABCONTROLITEM_PAGERESID
)
{
ImplTabItem
&
rItem
=
mpTabCtrlData
->
maItemList
[
GetPagePos
(
nItemId
)
];
rItem
.
mnTabPageResId
=
sal
::
static_int_cast
<
sal_uInt16
>
(
ReadLongRes
()
);
//skip unused TabPageResId value
ReadLongRes
(
);
}
}
...
...
@@ -1697,7 +1696,6 @@ void TabControl::InsertPage( sal_uInt16 nPageId, const XubString& rText,
// init new page item
pItem
->
mnId
=
nPageId
;
pItem
->
mpTabPage
=
NULL
;
pItem
->
mnTabPageResId
=
0
;
pItem
->
maText
=
rText
;
pItem
->
mbFullVisible
=
sal_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