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
7cf6d38e
Kaydet (Commit)
7cf6d38e
authored
Ara 08, 2011
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused code
üst
ddbe08e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
88 deletions
+0
-88
svapp.hxx
vcl/inc/vcl/svapp.hxx
+0
-5
svapp.cxx
vcl/source/app/svapp.cxx
+0
-83
No files found.
vcl/inc/vcl/svapp.hxx
Dosyayı görüntüle @
7cf6d38e
...
...
@@ -206,7 +206,6 @@ public:
static
sal_Bool
IsInMain
();
static
sal_Bool
IsInExecute
();
static
sal_Bool
IsInModalMode
();
static
sal_uInt16
GetModalModeCount
();
static
sal_uInt16
GetDispatchLevel
();
static
sal_Bool
AnyInput
(
sal_uInt16
nType
=
VCL_INPUT_ANY
);
...
...
@@ -245,7 +244,6 @@ public:
static
sal_uLong
PostKeyEvent
(
sal_uLong
nEvent
,
Window
*
pWin
,
KeyEvent
*
pKeyEvent
);
static
sal_uLong
PostMouseEvent
(
sal_uLong
nEvent
,
Window
*
pWin
,
MouseEvent
*
pMouseEvent
);
static
void
RemoveMouseAndKeyEvents
(
Window
*
pWin
);
static
sal_Bool
IsProcessedMouseOrKeyEvent
(
sal_uLong
nEventId
);
static
sal_uLong
PostUserEvent
(
const
Link
&
rLink
,
void
*
pCaller
=
NULL
);
static
sal_Bool
PostUserEvent
(
sal_uLong
&
rEventId
,
const
Link
&
rLink
,
void
*
pCaller
=
NULL
);
...
...
@@ -302,10 +300,7 @@ public:
static
sal_Bool
InsertAccel
(
Accelerator
*
pAccel
);
static
void
RemoveAccel
(
Accelerator
*
pAccel
);
static
sal_Bool
CallAccel
(
const
KeyCode
&
rKeyCode
,
sal_uInt16
nRepeat
=
0
);
static
sal_uLong
AddEventHook
(
VCLEventHookProc
pProc
,
void
*
pData
=
NULL
);
static
void
RemoveEventHook
(
sal_uLong
nId
);
static
long
CallEventHooks
(
NotifyEvent
&
rEvt
);
static
void
SetHelp
(
Help
*
pHelp
=
NULL
);
...
...
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
7cf6d38e
...
...
@@ -26,9 +26,6 @@
*
************************************************************************/
//#include "svsys.h"
#include "comphelper/processfactory.hxx"
#include "osl/module.h"
...
...
@@ -561,13 +558,6 @@ sal_Bool Application::IsInModalMode()
// -----------------------------------------------------------------------
sal_uInt16
Application
::
GetModalModeCount
()
{
return
ImplGetSVData
()
->
maAppData
.
mnModalMode
;
}
// -----------------------------------------------------------------------
sal_uInt16
Application
::
GetDispatchLevel
()
{
return
ImplGetSVData
()
->
maAppData
.
mnDispatchLevel
;
...
...
@@ -1014,24 +1004,6 @@ void Application::RemoveMouseAndKeyEvents( Window* pWin )
// -----------------------------------------------------------------------
sal_Bool
Application
::
IsProcessedMouseOrKeyEvent
(
sal_uLong
nEventId
)
{
const
SolarMutexGuard
aGuard
;
// find event
::
std
::
list
<
ImplPostEventPair
>::
iterator
aIter
(
aPostedEventList
.
begin
()
);
while
(
aIter
!=
aPostedEventList
.
end
()
)
{
if
(
(
*
aIter
).
second
->
mnEventId
==
nEventId
)
return
sal_False
;
else
++
aIter
;
}
return
sal_True
;
}
sal_uLong
Application
::
PostUserEvent
(
const
Link
&
rLink
,
void
*
pCaller
)
{
sal_uLong
nEventId
;
...
...
@@ -1390,21 +1362,6 @@ void Application::RemoveAccel( Accelerator* pAccel )
// -----------------------------------------------------------------------
sal_Bool
Application
::
CallAccel
(
const
KeyCode
&
rKeyCode
,
sal_uInt16
nRepeat
)
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
if
(
pSVData
->
maAppData
.
mpAccelMgr
)
{
if
(
pSVData
->
maAppData
.
mpAccelMgr
->
IsAccelKey
(
rKeyCode
,
nRepeat
)
)
return
sal_True
;
}
return
sal_False
;
}
// -----------------------------------------------------------------------
void
Application
::
SetHelp
(
Help
*
pHelp
)
{
ImplGetSVData
()
->
maAppData
.
mpHelp
=
pHelp
;
...
...
@@ -1703,46 +1660,6 @@ void ImplFreeEventHookData()
// -----------------------------------------------------------------------
sal_uIntPtr
Application
::
AddEventHook
(
VCLEventHookProc
pProc
,
void
*
pData
)
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplEventHook
*
pEventHookData
=
new
ImplEventHook
;
pEventHookData
->
mpUserData
=
pData
;
pEventHookData
->
mpProc
=
pProc
;
pEventHookData
->
mpNext
=
pSVData
->
maAppData
.
mpFirstEventHook
;
pSVData
->
maAppData
.
mpFirstEventHook
=
pEventHookData
;
return
(
sal_uIntPtr
)
pEventHookData
;
}
// -----------------------------------------------------------------------
void
Application
::
RemoveEventHook
(
sal_uIntPtr
nId
)
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplEventHook
*
pFindEventHookData
=
(
ImplEventHook
*
)
nId
;
ImplEventHook
*
pPrevEventHookData
=
NULL
;
ImplEventHook
*
pEventHookData
=
pSVData
->
maAppData
.
mpFirstEventHook
;
while
(
pEventHookData
)
{
if
(
pEventHookData
==
pFindEventHookData
)
{
if
(
pPrevEventHookData
)
pPrevEventHookData
->
mpNext
=
pFindEventHookData
->
mpNext
;
else
pSVData
->
maAppData
.
mpFirstEventHook
=
pFindEventHookData
->
mpNext
;
delete
pFindEventHookData
;
break
;
}
pPrevEventHookData
=
pEventHookData
;
pEventHookData
=
pEventHookData
->
mpNext
;
}
DBG_ASSERT
(
pEventHookData
,
"Application::RemoveEventHook() - EventHook is not added"
);
}
// -----------------------------------------------------------------------
long
Application
::
CallEventHooks
(
NotifyEvent
&
rEvt
)
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
...
...
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