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
a8248293
Kaydet (Commit)
a8248293
authored
Eki 16, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I9ce3a85eb5eba35691c376d19436c624df68be33
üst
5ba32287
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
cnttab.cxx
sw/source/ui/index/cnttab.cxx
+7
-4
swuicnttab.hxx
sw/source/uibase/inc/swuicnttab.hxx
+7
-7
No files found.
sw/source/ui/index/cnttab.cxx
Dosyayı görüntüle @
a8248293
...
...
@@ -2017,9 +2017,13 @@ void SwTOXEntryTabPage::dispose()
// pVoid is used as signal to change all levels of the example
IMPL_LINK_TYPED
(
SwTOXEntryTabPage
,
ModifyClickHdl
,
Button
*
,
pVoid
,
void
)
{
ModifyHdl
(
pVoid
);
OnModify
(
pVoid
);
}
IMPL_LINK
(
SwTOXEntryTabPage
,
ModifyHdl
,
void
*
,
pVoid
)
IMPL_LINK_NOARG_TYPED
(
SwTOXEntryTabPage
,
ModifyHdl
,
LinkParamNone
*
,
void
)
{
OnModify
(
nullptr
);
}
void
SwTOXEntryTabPage
::
OnModify
(
void
*
pVoid
)
{
UpdateDescriptor
();
...
...
@@ -2032,7 +2036,6 @@ IMPL_LINK(SwTOXEntryTabPage, ModifyHdl, void*, pVoid)
pTOXDlg
->
CreateOrUpdateExample
(
pTOXDlg
->
GetCurrentTOXType
().
eType
,
TOX_PAGE_ENTRY
,
nCurLevel
);
}
return
0
;
}
bool
SwTOXEntryTabPage
::
FillItemSet
(
SfxItemSet
*
)
...
...
@@ -2362,7 +2365,7 @@ IMPL_LINK_NOARG_TYPED(SwTOXEntryTabPage, AllLevelsHdl, Button*, void)
for
(
sal_uInt16
i
=
1
;
i
<
m_pCurrentForm
->
GetFormMax
();
i
++
)
m_pCurrentForm
->
SetPattern
(
i
,
sNewToken
);
ModifyHdl
(
this
);
OnModify
(
this
);
}
}
...
...
sw/source/uibase/inc/swuicnttab.hxx
Dosyayı görüntüle @
a8248293
...
...
@@ -258,9 +258,9 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer
OUString
aButtonTexts
[
TOKEN_END
];
// Text of the buttons
OUString
aButtonHelpTexts
[
TOKEN_END
];
// QuickHelpText of the buttons
OUString
sCharStyle
;
Link
<
SwFormToken
&
,
void
>
aButtonSelectedHdl
;
VclPtr
<
Control
>
pActiveCtrl
;
Link
<
>
aModifyHdl
;
Link
<
SwFormToken
&
,
void
>
aButtonSelectedHdl
;
VclPtr
<
Control
>
pActiveCtrl
;
Link
<
LinkParamNone
*
,
void
>
aModifyHdl
;
OUString
accessibleName
;
OUString
sAdditionalAccnameString1
;
OUString
sAdditionalAccnameString2
;
...
...
@@ -301,10 +301,9 @@ public:
void
SetButtonSelectedHdl
(
const
Link
<
SwFormToken
&
,
void
>&
rLink
)
{
aButtonSelectedHdl
=
rLink
;}
void
SetModifyHdl
(
const
Link
<>&
rLink
){
aModifyHdl
=
rLink
;}
void
SetModifyHdl
(
const
Link
<
LinkParamNone
*
,
void
>&
rLink
){
aModifyHdl
=
rLink
;}
Control
*
GetActiveControl
()
{
return
pActiveCtrl
;}
Control
*
GetActiveControl
()
{
return
pActiveCtrl
;
}
void
InsertAtSelection
(
const
OUString
&
rText
,
const
SwFormToken
&
aToken
);
void
RemoveControl
(
SwTOXButton
*
pDel
,
bool
bInternalCall
=
false
);
...
...
@@ -429,7 +428,8 @@ class SwTOXEntryTabPage : public SfxTabPage
void
WriteBackLevel
();
void
UpdateDescriptor
();
DECL_LINK
(
ModifyHdl
,
void
*
);
DECL_LINK_TYPED
(
ModifyHdl
,
LinkParamNone
*
,
void
);
void
OnModify
(
void
*
);
DECL_LINK_TYPED
(
ModifyClickHdl
,
Button
*
,
void
);
using
SfxTabPage
::
ActivatePage
;
...
...
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