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
14da1611
Kaydet (Commit)
14da1611
authored
Ock 10, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
extensions: plugin: mac unused param warnings
üst
bec239e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
sysplug.mm
extensions/source/plugin/aqua/sysplug.mm
+15
-0
No files found.
extensions/source/plugin/aqua/sysplug.mm
Dosyayı görüntüle @
14da1611
...
@@ -173,6 +173,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -173,6 +173,7 @@ struct FakeEventRecord : public EventRecord
-(void)drawRect: (NSRect) i_aRect
-(void)drawRect: (NSRect) i_aRect
{
{
(void) i_aRect; // unused
m_pCom->drawView( m_pImpl );
m_pCom->drawView( m_pImpl );
}
}
...
@@ -189,6 +190,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -189,6 +190,7 @@ struct FakeEventRecord : public EventRecord
// NSResponder
// NSResponder
-(void)mouseMoved: (NSEvent*)i_pEvent
-(void)mouseMoved: (NSEvent*)i_pEvent
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -196,6 +198,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -196,6 +198,7 @@ struct FakeEventRecord : public EventRecord
-(void)mouseDown: (NSEvent*)i_pEvent;
-(void)mouseDown: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseDown;
aRec.what = mouseDown;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -203,6 +206,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -203,6 +206,7 @@ struct FakeEventRecord : public EventRecord
-(void)mouseDragged: (NSEvent*)i_pEvent;
-(void)mouseDragged: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -210,6 +214,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -210,6 +214,7 @@ struct FakeEventRecord : public EventRecord
-(void)mouseUp: (NSEvent*)i_pEvent;
-(void)mouseUp: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseUp;
aRec.what = mouseUp;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -217,6 +222,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -217,6 +222,7 @@ struct FakeEventRecord : public EventRecord
-(void)rightMouseDown: (NSEvent*)i_pEvent;
-(void)rightMouseDown: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseDown;
aRec.what = mouseDown;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -224,6 +230,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -224,6 +230,7 @@ struct FakeEventRecord : public EventRecord
-(void)rightMouseDragged: (NSEvent*)i_pEvent;
-(void)rightMouseDragged: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -231,6 +238,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -231,6 +238,7 @@ struct FakeEventRecord : public EventRecord
-(void)rightMouseUp: (NSEvent*)i_pEvent;
-(void)rightMouseUp: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseUp;
aRec.what = mouseUp;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -238,6 +246,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -238,6 +246,7 @@ struct FakeEventRecord : public EventRecord
-(void)otherMouseDown: (NSEvent*)i_pEvent;
-(void)otherMouseDown: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseDown;
aRec.what = mouseDown;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -245,6 +254,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -245,6 +254,7 @@ struct FakeEventRecord : public EventRecord
-(void)otherMouseDragged: (NSEvent*)i_pEvent;
-(void)otherMouseDragged: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -252,6 +262,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -252,6 +262,7 @@ struct FakeEventRecord : public EventRecord
-(void)otherMouseUp: (NSEvent*)i_pEvent;
-(void)otherMouseUp: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = mouseUp;
aRec.what = mouseUp;
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -259,6 +270,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -259,6 +270,7 @@ struct FakeEventRecord : public EventRecord
-(void)mouseEntered: (NSEvent*)i_pEvent;
-(void)mouseEntered: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -266,6 +278,7 @@ struct FakeEventRecord : public EventRecord
...
@@ -266,6 +278,7 @@ struct FakeEventRecord : public EventRecord
-(void)mouseExited: (NSEvent*)i_pEvent;
-(void)mouseExited: (NSEvent*)i_pEvent;
{
{
(void) i_pEvent; // unused
FakeEventRecord aRec;
FakeEventRecord aRec;
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
aRec.what = aRec.what = osEvt + 18; // NPEventType_AdjustCursorEvent
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
m_pCom->NPP_HandleEvent( m_pImpl->getNPPInstance(), &aRec );
...
@@ -280,6 +293,8 @@ MacPluginComm::MacPluginComm( const rtl::OUString& i_rMimetype, const rtl::OUStr
...
@@ -280,6 +293,8 @@ MacPluginComm::MacPluginComm( const rtl::OUString& i_rMimetype, const rtl::OUStr
m_hPlugLib( NULL ),
m_hPlugLib( NULL ),
m_pNullTimer( NULL )
m_pNullTimer( NULL )
{
{
(void) i_rMimetype; // unused
(void) i_pParent; // unused
// initialize plugin function table
// initialize plugin function table
memset( &m_aNPPfuncs, 0, sizeof( m_aNPPfuncs ) );
memset( &m_aNPPfuncs, 0, sizeof( m_aNPPfuncs ) );
...
...
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