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
5b77f6d0
Kaydet (Commit)
5b77f6d0
authored
Agu 31, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I1acb6462aa32a0ee61e8ede3ed3e9607b8069298
üst
0e1d027f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
stdmenu.hxx
include/svtools/stdmenu.hxx
+3
-4
fntctl.hxx
include/svx/fntctl.hxx
+1
-1
stdmenu.cxx
svtools/source/control/stdmenu.cxx
+0
-4
fntctl.cxx
svx/source/mnuctrls/fntctl.cxx
+1
-2
No files found.
include/svtools/stdmenu.hxx
Dosyayı görüntüle @
5b77f6d0
...
@@ -100,9 +100,8 @@ FontList; FontNameMenu; FontSizeBox
...
@@ -100,9 +100,8 @@ FontList; FontNameMenu; FontSizeBox
class
SVT_DLLPUBLIC
FontNameMenu
:
public
PopupMenu
class
SVT_DLLPUBLIC
FontNameMenu
:
public
PopupMenu
{
{
private
:
private
:
OUString
maCurName
;
OUString
maCurName
;
Link
<>
maSelectHdl
;
Link
<
FontNameMenu
*
,
void
>
maSelectHdl
;
Link
<>
maHighlightHdl
;
public
:
public
:
FontNameMenu
();
FontNameMenu
();
...
@@ -116,7 +115,7 @@ public:
...
@@ -116,7 +115,7 @@ public:
void
SetCurName
(
const
OUString
&
rName
);
void
SetCurName
(
const
OUString
&
rName
);
const
OUString
&
GetCurName
()
const
{
return
maCurName
;
}
const
OUString
&
GetCurName
()
const
{
return
maCurName
;
}
void
SetSelectHdl
(
const
Link
<>&
rLink
)
{
maSelectHdl
=
rLink
;
}
void
SetSelectHdl
(
const
Link
<
FontNameMenu
*
,
void
>&
rLink
)
{
maSelectHdl
=
rLink
;
}
};
};
class
SVT_DLLPUBLIC
FontSizeMenu
:
public
PopupMenu
class
SVT_DLLPUBLIC
FontSizeMenu
:
public
PopupMenu
...
...
include/svx/fntctl.hxx
Dosyayı görüntüle @
5b77f6d0
...
@@ -37,7 +37,7 @@ private:
...
@@ -37,7 +37,7 @@ private:
Menu
&
rParent
;
Menu
&
rParent
;
SVX_DLLPRIVATE
void
FillMenu
();
SVX_DLLPRIVATE
void
FillMenu
();
DECL_LINK
(
MenuSelect
,
FontNameMenu
*
);
DECL_LINK
_TYPED
(
MenuSelect
,
FontNameMenu
*
,
void
);
SVX_DLLPRIVATE
virtual
void
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
SVX_DLLPRIVATE
virtual
void
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
const
SfxPoolItem
*
pState
)
SAL_OVERRIDE
;
const
SfxPoolItem
*
pState
)
SAL_OVERRIDE
;
SVX_DLLPRIVATE
virtual
void
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
)
SAL_OVERRIDE
;
SVX_DLLPRIVATE
virtual
void
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
)
SAL_OVERRIDE
;
...
...
svtools/source/control/stdmenu.cxx
Dosyayı görüntüle @
5b77f6d0
...
@@ -41,10 +41,6 @@ void FontNameMenu::Select()
...
@@ -41,10 +41,6 @@ void FontNameMenu::Select()
void
FontNameMenu
::
Highlight
()
void
FontNameMenu
::
Highlight
()
{
{
OUString
aTempName
=
maCurName
;
maCurName
=
GetItemText
(
GetCurItemId
()
);
maHighlightHdl
.
Call
(
this
);
maCurName
=
aTempName
;
}
}
void
FontNameMenu
::
Fill
(
const
FontList
*
pList
)
void
FontNameMenu
::
Fill
(
const
FontList
*
pList
)
...
...
svx/source/mnuctrls/fntctl.cxx
Dosyayı görüntüle @
5b77f6d0
...
@@ -134,12 +134,11 @@ void SvxFontMenuControl::Notify( SfxBroadcaster&, const SfxHint& rHint )
...
@@ -134,12 +134,11 @@ void SvxFontMenuControl::Notify( SfxBroadcaster&, const SfxHint& rHint )
weiteren Fontinformationen mu\s durch die Applikation geschehen.
weiteren Fontinformationen mu\s durch die Applikation geschehen.
*/
*/
IMPL_LINK
(
SvxFontMenuControl
,
MenuSelect
,
FontNameMenu
*
,
pMen
)
IMPL_LINK
_TYPED
(
SvxFontMenuControl
,
MenuSelect
,
FontNameMenu
*
,
pMen
,
void
)
{
{
SvxFontItem
aItem
(
GetId
()
);
SvxFontItem
aItem
(
GetId
()
);
aItem
.
SetFamilyName
(
pMen
->
GetCurName
());
aItem
.
SetFamilyName
(
pMen
->
GetCurName
());
GetBindings
().
GetDispatcher
()
->
Execute
(
GetId
(),
SfxCallMode
::
RECORD
,
&
aItem
,
0L
);
GetBindings
().
GetDispatcher
()
->
Execute
(
GetId
(),
SfxCallMode
::
RECORD
,
&
aItem
,
0L
);
return
0
;
}
}
/* [Beschreibung]
/* [Beschreibung]
...
...
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