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
cba0dad4
Kaydet (Commit)
cba0dad4
authored
Haz 13, 2012
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
calc input line: Fix crash with accessibility enabled.
Change-Id: I4508ec866b7e8436e1a8117ac6496ed0f1537abf
üst
a4242df3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
inputwin.cxx
sc/source/ui/app/inputwin.cxx
+1
-1
wintypes.hxx
tools/inc/tools/wintypes.hxx
+2
-1
brdwin.cxx
vcl/source/window/brdwin.cxx
+2
-0
window.cxx
vcl/source/window/window.cxx
+2
-0
No files found.
sc/source/ui/app/inputwin.cxx
Dosyayı görüntüle @
cba0dad4
...
@@ -118,7 +118,7 @@ ScTextWndBase::ScTextWndBase( Window* pParent, WinBits nStyle )
...
@@ -118,7 +118,7 @@ ScTextWndBase::ScTextWndBase( Window* pParent, WinBits nStyle )
{
{
if
(
IsNativeControlSupported
(
CTRL_EDITBOX
,
PART_ENTIRE_CONTROL
)
)
if
(
IsNativeControlSupported
(
CTRL_EDITBOX
,
PART_ENTIRE_CONTROL
)
)
{
{
SetType
(
WINDOW_
EDIT
);
SetType
(
WINDOW_
CALCINPUTLINE
);
SetBorderStyle
(
WINDOW_BORDER_NWF
);
SetBorderStyle
(
WINDOW_BORDER_NWF
);
}
}
}
}
...
...
tools/inc/tools/wintypes.hxx
Dosyayı görüntüle @
cba0dad4
...
@@ -118,7 +118,8 @@ typedef sal_uInt16 WindowType;
...
@@ -118,7 +118,8 @@ typedef sal_uInt16 WindowType;
#define WINDOW_LISTBOXWINDOW (WINDOW_FIRST + 0x4f)
#define WINDOW_LISTBOXWINDOW (WINDOW_FIRST + 0x4f)
#define WINDOW_DOCKINGAREA (WINDOW_FIRST + 0x50)
#define WINDOW_DOCKINGAREA (WINDOW_FIRST + 0x50)
#define WINDOW_RULER (WINDOW_FIRST + 0x51)
#define WINDOW_RULER (WINDOW_FIRST + 0x51)
#define WINDOW_LAST (WINDOW_RULER)
#define WINDOW_CALCINPUTLINE (WINDOW_FIRST + 0x52)
#define WINDOW_LAST (WINDOW_CALCINPUTLINE)
// ---------------
// ---------------
...
...
vcl/source/window/brdwin.cxx
Dosyayı görüntüle @
cba0dad4
...
@@ -1138,6 +1138,7 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHei
...
@@ -1138,6 +1138,7 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHei
case
WINDOW_LONGCURRENCYFIELD
:
case
WINDOW_LONGCURRENCYFIELD
:
case
WINDOW_NUMERICFIELD
:
case
WINDOW_NUMERICFIELD
:
case
WINDOW_SPINFIELD
:
case
WINDOW_SPINFIELD
:
case
WINDOW_CALCINPUTLINE
:
mbNWFBorder
=
true
;
mbNWFBorder
=
true
;
aCtrlType
=
(
pCtrl
->
GetStyle
()
&
WB_SPIN
)
?
CTRL_SPINBOX
:
CTRL_EDITBOX
;
aCtrlType
=
(
pCtrl
->
GetStyle
()
&
WB_SPIN
)
?
CTRL_SPINBOX
:
CTRL_EDITBOX
;
break
;
break
;
...
@@ -1271,6 +1272,7 @@ void ImplSmallBorderWindowView::DrawWindow( sal_uInt16 nDrawFlags, OutputDevice*
...
@@ -1271,6 +1272,7 @@ void ImplSmallBorderWindowView::DrawWindow( sal_uInt16 nDrawFlags, OutputDevice*
case
WINDOW_LONGCURRENCYFIELD
:
case
WINDOW_LONGCURRENCYFIELD
:
case
WINDOW_NUMERICFIELD
:
case
WINDOW_NUMERICFIELD
:
case
WINDOW_SPINFIELD
:
case
WINDOW_SPINFIELD
:
case
WINDOW_CALCINPUTLINE
:
if
(
pCtrl
->
GetStyle
()
&
WB_SPIN
)
if
(
pCtrl
->
GetStyle
()
&
WB_SPIN
)
aCtrlType
=
CTRL_SPINBOX
;
aCtrlType
=
CTRL_SPINBOX
;
else
else
...
...
vcl/source/window/window.cxx
Dosyayı görüntüle @
cba0dad4
...
@@ -8734,6 +8734,7 @@ sal_uInt16 Window::GetAccessibleRole() const
...
@@ -8734,6 +8734,7 @@ sal_uInt16 Window::GetAccessibleRole() const
case WINDOW_METRICFIELD:
case WINDOW_METRICFIELD:
case WINDOW_CURRENCYFIELD:
case WINDOW_CURRENCYFIELD:
case WINDOW_LONGCURRENCYFIELD:
case WINDOW_LONGCURRENCYFIELD:
case WINDOW_CALCINPUTLINE:
case WINDOW_EDIT: nRole = ( GetStyle() & WB_PASSWORD ) ? (accessibility::AccessibleRole::PASSWORD_TEXT) : (accessibility::AccessibleRole::TEXT); break;
case WINDOW_EDIT: nRole = ( GetStyle() & WB_PASSWORD ) ? (accessibility::AccessibleRole::PASSWORD_TEXT) : (accessibility::AccessibleRole::TEXT); break;
case WINDOW_PATTERNBOX:
case WINDOW_PATTERNBOX:
...
@@ -8837,6 +8838,7 @@ String Window::GetAccessibleName() const
...
@@ -8837,6 +8838,7 @@ String Window::GetAccessibleName() const
case WINDOW_METRICFIELD:
case WINDOW_METRICFIELD:
case WINDOW_CURRENCYFIELD:
case WINDOW_CURRENCYFIELD:
case WINDOW_LONGCURRENCYFIELD:
case WINDOW_LONGCURRENCYFIELD:
case WINDOW_CALCINPUTLINE:
case WINDOW_EDIT:
case WINDOW_EDIT:
case WINDOW_DATEBOX:
case WINDOW_DATEBOX:
...
...
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