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
e126468e
Kaydet (Commit)
e126468e
authored
Eyl 07, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I1140910c8e90a3022cc88ff33fa37db62007b745
üst
b4deeef4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
26 deletions
+19
-26
cuicharmap.cxx
cui/source/dialogs/cuicharmap.cxx
+4
-9
cuicharmap.hxx
cui/source/inc/cuicharmap.hxx
+4
-4
charmap.hxx
include/svx/charmap.hxx
+9
-9
dialog.hxx
starmath/inc/dialog.hxx
+1
-1
dialog.cxx
starmath/source/dialog.cxx
+1
-3
No files found.
cui/source/dialogs/cuicharmap.cxx
Dosyayı görüntüle @
e126468e
...
...
@@ -494,7 +494,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SubsetSelectHdl)
IMPL_LINK_NOARG
(
SvxCharacterMap
,
CharDoubleClickHdl
)
IMPL_LINK_NOARG
_TYPED
(
SvxCharacterMap
,
CharDoubleClickHdl
,
SvxShowCharSet
*
,
void
)
{
if
(
bOne
)
{
...
...
@@ -502,12 +502,11 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharDoubleClickHdl)
m_pShowText
->
SetText
(
OUString
(
&
cChar
,
1
));
}
EndDialog
(
RET_OK
);
return
0
;
}
IMPL_LINK_NOARG
(
SvxCharacterMap
,
CharSelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
SvxCharacterMap
,
CharSelectHdl
,
SvxShowCharSet
*
,
void
)
{
if
(
!
bOne
)
{
...
...
@@ -535,12 +534,11 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharSelectHdl)
}
m_pOKBtn
->
Enable
();
return
0
;
}
IMPL_LINK_NOARG
(
SvxCharacterMap
,
CharHighlightHdl
)
IMPL_LINK_NOARG
_TYPED
(
SvxCharacterMap
,
CharHighlightHdl
,
SvxShowCharSet
*
,
void
)
{
OUString
aText
;
sal_UCS4
cChar
=
m_pShowSet
->
GetSelectCharacter
();
...
...
@@ -573,13 +571,11 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharHighlightHdl)
aText
=
OUString
::
createFromAscii
(
aBuf
);
}
m_pCharCodeText
->
SetText
(
aText
);
return
0
;
}
IMPL_LINK_NOARG
(
SvxCharacterMap
,
CharPreSelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
SvxCharacterMap
,
CharPreSelectHdl
,
SvxShowCharSet
*
,
void
)
{
// adjust subset selection
if
(
pSubsetMap
)
...
...
@@ -591,7 +587,6 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharPreSelectHdl)
}
m_pOKBtn
->
Enable
();
return
0
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
cui/source/inc/cuicharmap.hxx
Dosyayı görüntüle @
e126468e
...
...
@@ -84,10 +84,10 @@ private:
DECL_LINK_TYPED
(
OKHdl
,
Button
*
,
void
);
DECL_LINK
(
FontSelectHdl
,
void
*
);
DECL_LINK
(
SubsetSelectHdl
,
void
*
);
DECL_LINK
(
CharDoubleClickHdl
,
void
*
);
DECL_LINK
(
CharSelectHdl
,
void
*
);
DECL_LINK
(
CharHighlightHdl
,
void
*
);
DECL_LINK
(
CharPreSelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
CharDoubleClickHdl
,
SvxShowCharSet
*
,
void
);
DECL_LINK
_TYPED
(
CharSelectHdl
,
SvxShowCharSet
*
,
void
);
DECL_LINK
_TYPED
(
CharHighlightHdl
,
SvxShowCharSet
*
,
void
);
DECL_LINK
_TYPED
(
CharPreSelectHdl
,
SvxShowCharSet
*
,
void
);
static
void
fillAllSubsets
(
ListBox
&
rListBox
);
...
...
include/svx/charmap.hxx
Dosyayı görüntüle @
e126468e
...
...
@@ -50,14 +50,14 @@ public:
void
SelectCharacter
(
sal_uInt32
cNew
,
bool
bFocus
=
false
);
sal_UCS4
GetSelectCharacter
()
const
;
void
SetDoubleClickHdl
(
const
Link
<>&
rLink
)
{
aDoubleClkHdl
=
rLink
;
}
void
SetSelectHdl
(
const
Link
<>&
rHdl
)
{
aSelectHdl
=
rHdl
;
}
void
SetHighlightHdl
(
const
Link
<>&
rHdl
)
{
aHighHdl
=
rHdl
;
}
void
SetPreSelectHdl
(
const
Link
<>&
rHdl
)
{
aPreSelectHdl
=
rHdl
;
}
void
SetDoubleClickHdl
(
const
Link
<
SvxShowCharSet
*
,
void
>&
rLink
)
{
aDoubleClkHdl
=
rLink
;
}
void
SetSelectHdl
(
const
Link
<
SvxShowCharSet
*
,
void
>&
rHdl
)
{
aSelectHdl
=
rHdl
;
}
void
SetHighlightHdl
(
const
Link
<
SvxShowCharSet
*
,
void
>&
rHdl
)
{
aHighHdl
=
rHdl
;
}
void
SetPreSelectHdl
(
const
Link
<
SvxShowCharSet
*
,
void
>&
rHdl
)
{
aPreSelectHdl
=
rHdl
;
}
static
sal_uInt32
&
getSelectedChar
();
void
SetFont
(
const
vcl
::
Font
&
rFont
);
svx
::
SvxShowCharSetItem
*
ImplGetItem
(
int
_nPos
);
svx
::
SvxShowCharSetItem
*
ImplGetItem
(
int
_nPos
);
int
FirstInView
()
const
;
int
LastInView
()
const
;
int
PixelToMapIndex
(
const
Point
&
)
const
;
...
...
@@ -92,10 +92,10 @@ protected:
private
:
typedef
std
::
map
<
sal_Int32
,
std
::
shared_ptr
<
svx
::
SvxShowCharSetItem
>
>
ItemsMap
;
ItemsMap
m_aItems
;
Link
<
>
aDoubleClkHdl
;
Link
<
>
aSelectHdl
;
Link
<
>
aHighHdl
;
Link
<
>
aPreSelectHdl
;
Link
<
SvxShowCharSet
*
,
void
>
aDoubleClkHdl
;
Link
<
SvxShowCharSet
*
,
void
>
aSelectHdl
;
Link
<
SvxShowCharSet
*
,
void
>
aHighHdl
;
Link
<
SvxShowCharSet
*
,
void
>
aPreSelectHdl
;
svx
::
SvxShowCharSetVirtualAcc
*
m_pAccessible
;
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
m_xAccessible
;
long
nX
;
...
...
starmath/inc/dialog.hxx
Dosyayı görüntüle @
e126468e
...
...
@@ -438,7 +438,7 @@ class SmSymDefineDialog : public ModalDialog
DECL_LINK
(
FontChangeHdl
,
ListBox
*
);
DECL_LINK
(
SubsetChangeHdl
,
ListBox
*
);
DECL_LINK
(
StyleChangeHdl
,
ComboBox
*
);
DECL_LINK
(
CharHighlightHdl
,
void
*
);
DECL_LINK
_TYPED
(
CharHighlightHdl
,
SvxShowCharSet
*
,
void
);
DECL_LINK_TYPED
(
AddClickHdl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
ChangeClickHdl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
DeleteClickHdl
,
Button
*
,
void
);
...
...
starmath/source/dialog.cxx
Dosyayı görüntüle @
e126468e
...
...
@@ -1878,7 +1878,7 @@ IMPL_LINK( SmSymDefineDialog, StyleChangeHdl, ComboBox *, pComboBox )
}
IMPL_LINK_NOARG
(
SmSymDefineDialog
,
CharHighlightHdl
)
IMPL_LINK_NOARG
_TYPED
(
SmSymDefineDialog
,
CharHighlightHdl
,
SvxShowCharSet
*
,
void
)
{
sal_UCS4
cChar
=
pCharsetDisplay
->
GetSelectCharacter
();
...
...
@@ -1905,8 +1905,6 @@ IMPL_LINK_NOARG(SmSymDefineDialog, CharHighlightHdl)
aUnicodePos
+=
aHex
;
pSymbols
->
SetText
(
aUnicodePos
);
pSymbolName
->
SetText
(
aUnicodePos
);
return
0
;
}
...
...
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