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
0e27079c
Kaydet (Commit)
0e27079c
authored
May 12, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SvxShowCharSet cleanup
Change-Id: Iadb110bb6ec64c66f1a9b54c43d19664f890ec74
üst
83d33d35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
charmap.cxx
svx/source/dialog/charmap.cxx
+9
-9
No files found.
svx/source/dialog/charmap.cxx
Dosyayı görüntüle @
0e27079c
...
...
@@ -255,19 +255,19 @@ int SvxShowCharSet::PixelToMapIndex( const Point& point) const
void
SvxShowCharSet
::
KeyInput
(
const
KeyEvent
&
rKEvt
)
void
SvxShowCharSet
::
KeyInput
(
const
KeyEvent
&
rKEvt
)
{
vcl
::
KeyCode
aCode
=
rKEvt
.
GetKeyCode
();
if
(
aCode
.
GetModifier
()
)
if
(
aCode
.
GetModifier
()
)
{
Control
::
KeyInput
(
rKEvt
);
Control
::
KeyInput
(
rKEvt
);
return
;
}
int
tmpSelected
=
nSelectedIndex
;
switch
(
aCode
.
GetCode
()
)
switch
(
aCode
.
GetCode
()
)
{
case
KEY_SPACE
:
aSelectHdl
.
Call
(
this
);
...
...
@@ -299,17 +299,17 @@ void SvxShowCharSet::KeyInput( const KeyEvent& rKEvt )
case
KEY_TAB
:
// some fonts have a character at these unicode control codes
case
KEY_ESCAPE
:
case
KEY_RETURN
:
Control
::
KeyInput
(
rKEvt
);
Control
::
KeyInput
(
rKEvt
);
tmpSelected
=
-
1
;
// mark as invalid
break
;
default
:
{
sal_UCS4
cChar
=
rKEvt
.
GetCharCode
();
sal_UCS4
cNext
=
mpFontCharMap
->
GetNextChar
(
cChar
-
1
);
tmpSelected
=
mpFontCharMap
->
GetIndexFromChar
(
cNext
);
if
(
tmpSelected
<
0
||
(
cChar
!=
cNext
)
)
sal_UCS4
cNext
=
mpFontCharMap
->
GetNextChar
(
cChar
-
1
);
tmpSelected
=
mpFontCharMap
->
GetIndexFromChar
(
cNext
);
if
(
tmpSelected
<
0
||
(
cChar
!=
cNext
)
)
{
Control
::
KeyInput
(
rKEvt
);
Control
::
KeyInput
(
rKEvt
);
tmpSelected
=
-
1
;
// mark as invalid
}
}
...
...
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