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
98034b25
Kaydet (Commit)
98034b25
authored
Eyl 12, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
down/up/focus/first/last handler not needed now
Change-Id: Ie8cb8e1bfb32669c2b4487f02d107b08c60b2399
üst
c8aedac3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
optgdlg.cxx
cui/source/options/optgdlg.cxx
+0
-24
optgdlg.hxx
cui/source/options/optgdlg.hxx
+0
-2
No files found.
cui/source/options/optgdlg.cxx
Dosyayı görüntüle @
98034b25
...
...
@@ -288,12 +288,6 @@ OfaMiscTabPage::OfaMiscTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
m_aStrDateInfo
=
m_pToYearFT
->
GetText
();
m_pYearValueField
->
SetUseThousandSep
(
false
);
m_pYearValueField
->
SetModifyHdl
(
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureHdl
)
);
Link
<
SpinField
&
,
void
>
aLink
=
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureConfigHdl
);
m_pYearValueField
->
SetDownHdl
(
aLink
);
m_pYearValueField
->
SetUpHdl
(
aLink
);
m_pYearValueField
->
SetLoseFocusHdl
(
LINK
(
this
,
OfaMiscTabPage
,
TwoFigureConfigFocusHdl
)
);
m_pYearValueField
->
SetFirstHdl
(
aLink
);
TwoFigureConfigHdl
(
*
m_pYearValueField
);
SetExchangeSupport
();
}
...
...
@@ -389,14 +383,9 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet )
const
SfxPoolItem
*
pItem
=
nullptr
;
if
(
SfxItemState
::
SET
==
rSet
->
GetItemState
(
SID_ATTR_YEAR2000
,
false
,
&
pItem
)
)
{
m_pYearValueField
->
SetValue
(
static_cast
<
const
SfxUInt16Item
*>
(
pItem
)
->
GetValue
()
);
TwoFigureConfigHdl
(
*
m_pYearValueField
);
}
else
{
m_pYearFrame
->
Enable
(
false
);
}
m_pCollectUsageInfo
->
Check
(
officecfg
::
Office
::
Common
::
Misc
::
CollectUsageInformation
::
get
());
m_pCollectUsageInfo
->
Enable
(
!
officecfg
::
Office
::
Common
::
Misc
::
CollectUsageInformation
::
isReadOnly
());
...
...
@@ -418,19 +407,6 @@ IMPL_LINK_NOARG( OfaMiscTabPage, TwoFigureHdl, Edit&, void )
m_pToYearFT
->
SetText
(
aOutput
);
}
IMPL_LINK
(
OfaMiscTabPage
,
TwoFigureConfigFocusHdl
,
Control
&
,
rControl
,
void
)
{
TwoFigureConfigHdl
(
static_cast
<
SpinField
&>
(
rControl
));
}
IMPL_LINK
(
OfaMiscTabPage
,
TwoFigureConfigHdl
,
SpinField
&
,
rEd
,
void
)
{
sal_Int64
nNum
=
m_pYearValueField
->
GetValue
();
OUString
aOutput
(
OUString
::
number
(
nNum
));
m_pYearValueField
->
SetText
(
aOutput
);
m_pYearValueField
->
SetSelection
(
Selection
(
0
,
aOutput
.
getLength
()
)
);
TwoFigureHdl
(
static_cast
<
Edit
&>
(
rEd
)
);
}
class
CanvasSettings
{
public
:
...
...
cui/source/options/optgdlg.hxx
Dosyayı görüntüle @
98034b25
...
...
@@ -59,8 +59,6 @@ private:
VclPtr
<
CheckBox
>
m_pCollectUsageInfo
;
DECL_LINK
(
TwoFigureHdl
,
Edit
&
,
void
);
DECL_LINK
(
TwoFigureConfigHdl
,
SpinField
&
,
void
);
DECL_LINK
(
TwoFigureConfigFocusHdl
,
Control
&
,
void
);
protected
:
virtual
DeactivateRC
DeactivatePage
(
SfxItemSet
*
pSet
)
override
;
...
...
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