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
d9f425e8
Kaydet (Commit)
d9f425e8
authored
Nis 02, 2014
tarafından
Steve Yin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 124573 - Office does not start when accessibility is activated.
Fixed access bridge initialization issue in vcl.
üst
19cfea58
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
svapp.cxx
vcl/source/app/svapp.cxx
+3
-2
svdata.cxx
vcl/source/app/svdata.cxx
+11
-11
salframe.cxx
vcl/win/source/window/salframe.cxx
+1
-1
No files found.
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
d9f425e8
...
@@ -2058,12 +2058,13 @@ sal_Bool Application::IsAccessibilityEnabled()
...
@@ -2058,12 +2058,13 @@ sal_Bool Application::IsAccessibilityEnabled()
sal_Bool
InitAccessBridge
(
sal_Bool
bShowCancel
,
sal_Bool
&
rCancelled
)
sal_Bool
InitAccessBridge
(
sal_Bool
bShowCancel
,
sal_Bool
&
rCancelled
)
{
{
sal_Bool
bRet
=
true
;
sal_Bool
bRet
=
sal_True
;
rCancelled
=
sal_False
;
// Disable Java bridge on UNIX and OS/2
// Disable Java bridge on UNIX and OS/2
#ifndef WNT
#ifndef WNT
(
void
)
bShowCancel
;
// unsued
(
void
)
bShowCancel
;
// unsued
(
void
)
rCancelled
;
// unused
#else
#else
// Checking HasAtHook() was introduced with IBM's IA2 CWS.
// Checking HasAtHook() was introduced with IBM's IA2 CWS.
if
(
HasAtHook
()
)
if
(
HasAtHook
()
)
...
...
vcl/source/app/svdata.cxx
Dosyayı görüntüle @
d9f425e8
...
@@ -442,7 +442,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -442,7 +442,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
{
{
rCancelled
=
sal_False
;
rCancelled
=
sal_False
;
bool
bErrorMessage
=
t
rue
;
sal_Bool
bErrorMessage
=
sal_T
rue
;
// Note:
// Note:
// if bAllowCancel is sal_True we were called from application startup
// if bAllowCancel is sal_True we were called from application startup
...
@@ -452,13 +452,13 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -452,13 +452,13 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
try
try
{
{
bool
bSuccess
=
t
rue
;
sal_Bool
bSuccess
=
sal_T
rue
;
// No error messages when env var is set ..
// No error messages when env var is set ..
static
const
char
*
pEnv
=
getenv
(
"SAL_ACCESSIBILITY_ENABLED"
);
static
const
char
*
pEnv
=
getenv
(
"SAL_ACCESSIBILITY_ENABLED"
);
if
(
pEnv
&&
*
pEnv
)
if
(
pEnv
&&
*
pEnv
)
{
{
bErrorMessage
=
f
alse
;
bErrorMessage
=
sal_F
alse
;
}
}
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplSVData
*
pSVData
=
ImplGetSVData
();
...
@@ -479,7 +479,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -479,7 +479,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
}
}
if
(
!
pSVData
->
mxAccessBridge
.
is
()
)
if
(
!
pSVData
->
mxAccessBridge
.
is
()
)
bSuccess
=
f
alse
;
bSuccess
=
sal_F
alse
;
return
bSuccess
;
return
bSuccess
;
#endif
#endif
css
::
uno
::
Reference
<
XExtendedToolkit
>
xToolkit
=
css
::
uno
::
Reference
<
XExtendedToolkit
>
xToolkit
=
...
@@ -512,7 +512,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -512,7 +512,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
}
}
if
(
!
pSVData
->
mxAccessBridge
.
is
()
)
if
(
!
pSVData
->
mxAccessBridge
.
is
()
)
bSuccess
=
f
alse
;
bSuccess
=
sal_F
alse
;
}
}
}
}
...
@@ -541,7 +541,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -541,7 +541,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
rCancelled
=
sal_True
;
rCancelled
=
sal_True
;
}
}
return
f
alse
;
return
sal_F
alse
;
}
}
catch
(
::
com
::
sun
::
star
::
java
::
JavaVMCreationFailureException
&
)
catch
(
::
com
::
sun
::
star
::
java
::
JavaVMCreationFailureException
&
)
...
@@ -566,7 +566,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -566,7 +566,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
rCancelled
=
sal_True
;
rCancelled
=
sal_True
;
}
}
return
f
alse
;
return
sal_F
alse
;
}
}
catch
(
::
com
::
sun
::
star
::
java
::
MissingJavaRuntimeException
&
)
catch
(
::
com
::
sun
::
star
::
java
::
MissingJavaRuntimeException
&
)
...
@@ -591,7 +591,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -591,7 +591,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
rCancelled
=
sal_True
;
rCancelled
=
sal_True
;
}
}
return
f
alse
;
return
sal_F
alse
;
}
}
catch
(
::
com
::
sun
::
star
::
java
::
JavaDisabledException
&
)
catch
(
::
com
::
sun
::
star
::
java
::
JavaDisabledException
&
)
...
@@ -616,7 +616,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -616,7 +616,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
rCancelled
=
sal_True
;
rCancelled
=
sal_True
;
}
}
return
f
alse
;
return
sal_F
alse
;
}
}
...
@@ -670,12 +670,12 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
...
@@ -670,12 +670,12 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
}
}
}
}
return
f
alse
;
return
sal_F
alse
;
}
}
catch
(...)
catch
(...)
{
{
return
f
alse
;
return
sal_F
alse
;
}
}
}
}
...
...
vcl/win/source/window/salframe.cxx
Dosyayı görüntüle @
d9f425e8
...
@@ -6211,7 +6211,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
...
@@ -6211,7 +6211,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
// Make sure to launch Accessibiliity only the following criterias are satisfied to avoid RFT interrupts regular acc processing
// Make sure to launch Accessibiliity only the following criterias are satisfied to avoid RFT interrupts regular acc processing
if
(
g_acc_manager1
==
NULL
)
if
(
g_acc_manager1
==
NULL
)
{
{
sal_Bool
bCancelled
;
sal_Bool
bCancelled
(
sal_False
)
;
InitAccessBridge
(
sal_False
,
bCancelled
);
InitAccessBridge
(
sal_False
,
bCancelled
);
if
(
bCancelled
)
if
(
bCancelled
)
break
;
break
;
...
...
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