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
7eb519e9
Kaydet (Commit)
7eb519e9
authored
Eki 30, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
KEY_ALLMOD is the same as KEY_MOD
so just dump it Change-Id: I006045aea345e84ff1944fc1ed1daa94bd7bca61
üst
c91e045c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
8 deletions
+5
-8
rsc-vcl-shared-types.hxx
include/rsc/rsc-vcl-shared-types.hxx
+0
-1
keycod.hxx
include/vcl/keycod.hxx
+0
-2
fupoor.cxx
sd/source/ui/func/fupoor.cxx
+2
-2
defaultinputhandler.cxx
svtools/source/table/defaultinputhandler.cxx
+1
-1
salmenu.cxx
vcl/osx/salmenu.cxx
+1
-1
keyevent.cxx
vcl/source/window/keyevent.cxx
+1
-1
No files found.
include/rsc/rsc-vcl-shared-types.hxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -139,7 +139,6 @@ namespace o3tl
#define KEY_MOD2 ((sal_uInt16)0x4000)
#define KEY_MOD3 ((sal_uInt16)0x8000)
#define KEY_MODTYPE ((sal_uInt16)0xF000)
#define KEY_ALLMODTYPE ((sal_uInt16)0xF000)
#endif
...
...
include/vcl/keycod.hxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -54,8 +54,6 @@ public:
sal_uInt16
GetModifier
()
const
{
return
(
nCode
&
KEY_MODTYPE
);
}
sal_uInt16
GetAllModifier
()
const
{
return
(
nCode
&
KEY_ALLMODTYPE
);
}
bool
IsShift
()
const
{
return
((
nCode
&
KEY_SHIFT
)
!=
0
);
}
bool
IsMod1
()
const
...
...
sd/source/ui/func/fupoor.cxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -435,7 +435,7 @@ bool FuPoor::KeyInput(const KeyEvent& rKEvt)
{
// The page-up key switches layers or pages depending on the
// modifier key.
if
(
!
rKEvt
.
GetKeyCode
().
Get
All
Modifier
())
if
(
!
rKEvt
.
GetKeyCode
().
GetModifier
())
{
// With no modifier pressed we move to the previous
// slide.
...
...
@@ -482,7 +482,7 @@ bool FuPoor::KeyInput(const KeyEvent& rKEvt)
{
// The page-down key switches layers or pages depending on the
// modifier key.
if
(
!
rKEvt
.
GetKeyCode
().
Get
All
Modifier
())
if
(
!
rKEvt
.
GetKeyCode
().
GetModifier
())
{
// With no modifier pressed we move to the next slide.
mpView
->
SdrEndTextEdit
();
...
...
svtools/source/table/defaultinputhandler.cxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -172,7 +172,7 @@ namespace svt { namespace table
const
_ActionMapEntry
*
pActions
=
aKnownActions
;
for
(
;
pActions
->
eAction
!=
invalidTableControlAction
;
++
pActions
)
{
if
(
(
pActions
->
nKeyCode
==
nKeyCode
)
&&
(
pActions
->
nKeyModifier
==
rKeyCode
.
Get
All
Modifier
()
)
)
if
(
(
pActions
->
nKeyCode
==
nKeyCode
)
&&
(
pActions
->
nKeyModifier
==
rKeyCode
.
GetModifier
()
)
)
{
bHandled
=
_rControl
.
dispatchAction
(
pActions
->
eAction
);
break
;
...
...
vcl/osx/salmenu.cxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -742,7 +742,7 @@ void AquaSalMenu::SetAccelerator( unsigned /*nPos*/, SalMenuItem* pSalMenuItem,
DBG_ASSERT
(
nCommandKey
,
"unmapped accelerator key"
);
nModifier
=
rKeyCode
.
Get
All
Modifier
();
nModifier
=
rKeyCode
.
GetModifier
();
// should always use the command key
int
nItemModifier
=
0
;
...
...
vcl/source/window/keyevent.cxx
Dosyayı görüntüle @
7eb519e9
...
...
@@ -33,7 +33,7 @@ KeyEvent KeyEvent::LogicalTextDirectionality (TextDirectionality eMode) const
KeyEvent
aClone
(
*
this
);
sal_uInt16
nCode
=
maKeyCode
.
GetCode
();
sal_uInt16
nMod
=
maKeyCode
.
Get
All
Modifier
();
sal_uInt16
nMod
=
maKeyCode
.
GetModifier
();
switch
(
eMode
)
{
...
...
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