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
117ff653
Kaydet (Commit)
117ff653
authored
Kas 04, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Expand some prefixes ('Brk' to 'Break', 'Beg' to 'Begin')
Change-Id: Id4047b656ce53cf754c35fab13216587884da199
üst
45a2bb97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
svdibrow.hxx
svx/inc/svdibrow.hxx
+2
-2
svdibrow.cxx
svx/source/svdraw/svdibrow.cxx
+6
-6
No files found.
svx/inc/svdibrow.hxx
Dosyayı görüntüle @
117ff653
...
@@ -56,7 +56,7 @@ private:
...
@@ -56,7 +56,7 @@ private:
void
ImpSaveWhich
();
void
ImpSaveWhich
();
void
ImpRestoreWhich
();
void
ImpRestoreWhich
();
sal_uIntPtr
GetCurrentPos
()
const
;
sal_uIntPtr
GetCurrentPos
()
const
;
bool
BegChangeEntry
(
sal_uIntPtr
nPos
);
bool
Beg
in
ChangeEntry
(
sal_uIntPtr
nPos
);
protected
:
protected
:
virtual
long
GetRowCount
()
const
override
;
virtual
long
GetRowCount
()
const
override
;
...
@@ -76,7 +76,7 @@ public:
...
@@ -76,7 +76,7 @@ public:
void
SetAttributes
(
const
SfxItemSet
*
pAttr
,
const
SfxItemSet
*
p2ndSet
=
NULL
);
void
SetAttributes
(
const
SfxItemSet
*
pAttr
,
const
SfxItemSet
*
p2ndSet
=
NULL
);
sal_uInt16
GetCurrentWhich
()
const
;
sal_uInt16
GetCurrentWhich
()
const
;
bool
EndChangeEntry
();
bool
EndChangeEntry
();
void
Br
kChangeEntry
();
void
Brea
kChangeEntry
();
/** GetCellText returns the text at the given position
/** GetCellText returns the text at the given position
@param _nRow
@param _nRow
...
...
svx/source/svdraw/svdibrow.cxx
Dosyayı görüntüle @
117ff653
...
@@ -187,7 +187,7 @@ void ImpItemEdit::KeyInput(const KeyEvent& rKEvt)
...
@@ -187,7 +187,7 @@ void ImpItemEdit::KeyInput(const KeyEvent& rKEvt)
}
}
else
if
(
nKeyCode
==
KEY_ESCAPE
)
else
if
(
nKeyCode
==
KEY_ESCAPE
)
{
{
pBrowseMerk
->
BrkChangeEntry
();
pBrowseMerk
->
Br
ea
kChangeEntry
();
pBrowseMerk
->
GrabFocus
();
pBrowseMerk
->
GrabFocus
();
}
}
else
if
(
nKeyCode
==
KEY_UP
||
nKeyCode
==
KEY_DOWN
)
else
if
(
nKeyCode
==
KEY_UP
||
nKeyCode
==
KEY_DOWN
)
...
@@ -392,7 +392,7 @@ void _SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&)
...
@@ -392,7 +392,7 @@ void _SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&)
{
{
sal_uIntPtr
nPos
=
GetCurrentPos
();
sal_uIntPtr
nPos
=
GetCurrentPos
();
if
(
nPos
!=
CONTAINER_ENTRY_NOTFOUND
)
{
if
(
nPos
!=
CONTAINER_ENTRY_NOTFOUND
)
{
BegChangeEntry
(
nPos
);
Beg
in
ChangeEntry
(
nPos
);
}
}
}
}
...
@@ -403,7 +403,7 @@ void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt)
...
@@ -403,7 +403,7 @@ void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt)
sal_uIntPtr
nPos
=
GetCurrentPos
();
sal_uIntPtr
nPos
=
GetCurrentPos
();
if
(
nPos
!=
CONTAINER_ENTRY_NOTFOUND
)
{
if
(
nPos
!=
CONTAINER_ENTRY_NOTFOUND
)
{
if
(
nKeyCode
==
KEY_RETURN
)
{
if
(
nKeyCode
==
KEY_RETURN
)
{
if
(
BegChangeEntry
(
nPos
))
bAusgewertet
=
true
;
if
(
Beg
in
ChangeEntry
(
nPos
))
bAusgewertet
=
true
;
}
else
if
(
nKeyCode
==
KEY_ESCAPE
)
{
}
else
if
(
nKeyCode
==
KEY_ESCAPE
)
{
}
else
if
(
rKEvt
.
GetKeyCode
().
GetModifier
()
==
KEY_SHIFT
+
KEY_MOD1
+
KEY_MOD2
)
{
// Ctrl
}
else
if
(
rKEvt
.
GetKeyCode
().
GetModifier
()
==
KEY_SHIFT
+
KEY_MOD1
+
KEY_MOD2
)
{
// Ctrl
...
@@ -488,9 +488,9 @@ void _SdrItemBrowserControl::ImpRestoreWhich()
...
@@ -488,9 +488,9 @@ void _SdrItemBrowserControl::ImpRestoreWhich()
}
}
}
}
bool
_SdrItemBrowserControl
::
BegChangeEntry
(
sal_uIntPtr
nPos
)
bool
_SdrItemBrowserControl
::
Beg
in
ChangeEntry
(
sal_uIntPtr
nPos
)
{
{
BrkChangeEntry
();
Br
ea
kChangeEntry
();
bool
bRet
=
false
;
bool
bRet
=
false
;
ImpItemListRow
*
pEntry
=
ImpGetEntry
(
nPos
);
ImpItemListRow
*
pEntry
=
ImpGetEntry
(
nPos
);
if
(
pEntry
!=
NULL
&&
!
pEntry
->
bComment
)
{
if
(
pEntry
!=
NULL
&&
!
pEntry
->
bComment
)
{
...
@@ -543,7 +543,7 @@ bool _SdrItemBrowserControl::EndChangeEntry()
...
@@ -543,7 +543,7 @@ bool _SdrItemBrowserControl::EndChangeEntry()
return
bRet
;
return
bRet
;
}
}
void
_SdrItemBrowserControl
::
BrkChangeEntry
()
void
_SdrItemBrowserControl
::
Br
ea
kChangeEntry
()
{
{
if
(
pEditControl
!=
nullptr
)
{
if
(
pEditControl
!=
nullptr
)
{
pEditControl
.
disposeAndClear
();
pEditControl
.
disposeAndClear
();
...
...
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