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
b472cced
Kaydet (Commit)
b472cced
authored
Ara 12, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: Ic8e00ab8961811044c26eb237f283617ddeb5cb6
üst
2337adc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+11
-7
regionsw.hxx
sw/source/uibase/inc/regionsw.hxx
+0
-2
No files found.
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
b472cced
...
...
@@ -67,6 +67,17 @@
using
namespace
::
com
::
sun
::
star
;
namespace
{
Image
BuildBitmap
(
bool
bProtect
,
bool
bHidden
)
{
if
(
bProtect
)
return
Image
(
BitmapEx
(
SW_RES
(
bHidden
?
RID_BMP_PROT_HIDE
:
RID_BMP_PROT_NO_HIDE
)));
return
Image
(
BitmapEx
(
SW_RES
(
bHidden
?
RID_BMP_HIDE
:
RID_BMP_NO_HIDE
)));
}
}
static
void
lcl_ReadSections
(
SfxMedium
&
rMedium
,
ComboBox
&
rBox
);
static
void
lcl_FillList
(
SwWrtShell
&
rSh
,
ComboBox
&
rSubRegions
,
ComboBox
*
pAvailNames
,
const
SwSectionFormat
*
pNewFormat
)
...
...
@@ -1366,13 +1377,6 @@ IMPL_LINK( SwEditRegionDlg, SubRegionEventHdl, VclWindowEvent&, rEvent, void )
}
}
Image
SwEditRegionDlg
::
BuildBitmap
(
bool
bProtect
,
bool
bHidden
)
{
if
(
bProtect
)
return
Image
(
BitmapEx
(
SW_RES
(
bHidden
?
RID_BMP_PROT_HIDE
:
RID_BMP_PROT_NO_HIDE
)));
return
Image
(
BitmapEx
(
SW_RES
(
bHidden
?
RID_BMP_HIDE
:
RID_BMP_NO_HIDE
)));
}
// helper function - read region names from medium
static
void
lcl_ReadSections
(
SfxMedium
&
rMedium
,
ComboBox
&
rBox
)
{
...
...
sw/source/uibase/inc/regionsw.hxx
Dosyayı görüntüle @
b472cced
...
...
@@ -98,8 +98,6 @@ class SwEditRegionDlg : public SfxModalDialog
bool
bDontCheckPasswd
:
1
;
bool
bWeb
:
1
;
Image
BuildBitmap
(
bool
bProtect
,
bool
bHidden
);
void
RecurseList
(
const
SwSectionFormat
*
pFormat
,
SvTreeListEntry
*
pEntry
);
size_t
FindArrPos
(
const
SwSectionFormat
*
pFormat
);
...
...
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