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
20d1ee06
Kaydet (Commit)
20d1ee06
authored
Agu 23, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert PaperSizeApp to scoped enum
Change-Id: Ifd452ed0ca53223ae9b45e1b3b232fcfc6d29496
üst
6971da08
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
page.cxx
cui/source/tabpages/page.cxx
+1
-1
papersizelistbox.hxx
include/svx/papersizelistbox.hxx
+3
-3
SlideBackground.cxx
sd/source/ui/sidebar/SlideBackground.cxx
+1
-1
papersizelistbox.cxx
svx/source/dialog/papersizelistbox.cxx
+1
-1
PageFormatPanel.cxx
sw/source/uibase/sidebar/PageFormatPanel.cxx
+1
-1
No files found.
cui/source/tabpages/page.cxx
Dosyayı görüntüle @
20d1ee06
...
...
@@ -553,7 +553,7 @@ void SvxPageDescPage::Reset( const SfxItemSet* rSet )
SetMetricValue
(
*
m_pPaperWidthEdit
,
aPaperSize
.
Width
(),
MAP_100TH_MM
);
m_pPaperSizeBox
->
Clear
();
m_pPaperSizeBox
->
FillPaperSizeEntries
(
(
ePaperStart
==
PAPER_A3
)
?
PaperSize
Std
:
PaperSize
Draw
);
m_pPaperSizeBox
->
FillPaperSizeEntries
(
(
ePaperStart
==
PAPER_A3
)
?
PaperSize
App
::
Std
:
PaperSizeApp
::
Draw
);
m_pPaperSizeBox
->
SetSelection
(
ePaper
);
// application specific
...
...
include/svx/papersizelistbox.hxx
Dosyayı görüntüle @
20d1ee06
...
...
@@ -24,10 +24,10 @@
#include <svx/svxdllapi.h>
#include <vcl/lstbox.hxx>
enum
PaperSizeApp
enum
class
PaperSizeApp
{
PaperSize
Std
,
PaperSize
Draw
Std
,
Draw
};
class
SVX_DLLPUBLIC
PaperSizeListBox
:
public
ListBox
...
...
sd/source/ui/sidebar/SlideBackground.cxx
Dosyayı görüntüle @
20d1ee06
...
...
@@ -147,7 +147,7 @@ bool SlideBackground::IsImpress()
void
SlideBackground
::
Initialize
()
{
mpPaperSizeBox
->
FillPaperSizeEntries
(
PaperSizeDraw
);
mpPaperSizeBox
->
FillPaperSizeEntries
(
PaperSize
App
::
Draw
);
mpPaperSizeBox
->
SetSelectHdl
(
LINK
(
this
,
SlideBackground
,
PaperSizeModifyHdl
));
mpPaperOrientation
->
SetSelectHdl
(
LINK
(
this
,
SlideBackground
,
PaperSizeModifyHdl
));
mpCloseMaster
->
Hide
();
...
...
svx/source/dialog/papersizelistbox.cxx
Dosyayı görüntüle @
20d1ee06
...
...
@@ -34,7 +34,7 @@ VCL_BUILDER_FACTORY(PaperSizeListBox);
void
PaperSizeListBox
::
FillPaperSizeEntries
(
PaperSizeApp
eApp
)
{
ResStringArray
aPaperAry
(
SVX_RES
(
(
eApp
==
PaperSizeStd
)
?
ResStringArray
aPaperAry
(
SVX_RES
(
(
eApp
==
PaperSize
App
::
Std
)
?
RID_SVXSTRARY_PAPERSIZE_STD
:
RID_SVXSTRARY_PAPERSIZE_DRAW
)
);
sal_uInt32
nCnt
=
aPaperAry
.
Count
();
...
...
sw/source/uibase/sidebar/PageFormatPanel.cxx
Dosyayı görüntüle @
20d1ee06
...
...
@@ -109,7 +109,7 @@ void PageFormatPanel::dispose()
void
PageFormatPanel
::
Initialize
()
{
mpPaperSizeBox
->
FillPaperSizeEntries
(
PaperSizeStd
);
mpPaperSizeBox
->
FillPaperSizeEntries
(
PaperSize
App
::
Std
);
mpPaperSizeBox
->
SetDropDownLineCount
(
6
);
meUnit
=
maPaperSizeController
.
GetCoreMetric
();
SetFieldUnit
(
*
mpPaperWidth
,
meFUnit
);
...
...
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