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
4446cdf2
Kaydet (Commit)
4446cdf2
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I14d1c6f703c83bc4a0259ce68e93a315bbfdde4e
üst
deb7a093
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
dlgevtatt.cxx
scripting/source/dlgprov/dlgevtatt.cxx
+1
-1
MasterScriptProvider.cxx
scripting/source/provider/MasterScriptProvider.cxx
+3
-3
stringresource.cxx
scripting/source/stringresource/stringresource.cxx
+1
-1
eventhelper.cxx
scripting/source/vbaevents/eventhelper.cxx
+6
-6
No files found.
scripting/source/dlgprov/dlgevtatt.cxx
Dosyayı görüntüle @
4446cdf2
...
...
@@ -394,7 +394,7 @@ namespace dlgprov
void
DialogAllListenerImpl
::
firing_impl
(
const
AllEventObject
&
Event
,
Any
*
pRet
)
{
ScriptEvent
aScriptEvent
;
aScriptEvent
.
Source
=
(
OWeakObject
*
)
this
;
// get correct XInterface
aScriptEvent
.
Source
=
static_cast
<
OWeakObject
*>
(
this
)
;
// get correct XInterface
aScriptEvent
.
ListenerType
=
Event
.
ListenerType
;
aScriptEvent
.
MethodName
=
Event
.
MethodName
;
aScriptEvent
.
Arguments
=
Event
.
Arguments
;
...
...
scripting/source/provider/MasterScriptProvider.cxx
Dosyayı görüntüle @
4446cdf2
...
...
@@ -810,7 +810,7 @@ namespace scripting_runtimemgr
Reference
<
XInterface
>
SAL_CALL
sp_create
(
const
Reference
<
XComponentContext
>
&
xCompC
)
{
return
(
cppu
::
OWeakObject
*
)
new
::
func_provider
::
MasterScriptProvider
(
xCompC
);
return
static_cast
<
cppu
::
OWeakObject
*>
(
new
::
func_provider
::
MasterScriptProvider
(
xCompC
)
);
}
...
...
@@ -835,8 +835,8 @@ OUString sp_getImplementationName( )
Reference
<
XInterface
>
SAL_CALL
urihelper_create
(
const
Reference
<
XComponentContext
>
&
xCompC
)
{
return
(
cppu
::
OWeakObject
*
)
new
::
func_provider
::
ScriptingFrameworkURIHelper
(
xCompC
);
return
static_cast
<
cppu
::
OWeakObject
*>
(
new
::
func_provider
::
ScriptingFrameworkURIHelper
(
xCompC
)
)
;
}
Sequence
<
OUString
>
urihelper_getSupportedServiceNames
(
)
...
...
scripting/source/stringresource/stringresource.cxx
Dosyayı görüntüle @
4446cdf2
...
...
@@ -700,7 +700,7 @@ void StringResourceImpl::implModified()
void
StringResourceImpl
::
implNotifyListeners
()
{
EventObject
aEvent
;
aEvent
.
Source
=
static_cast
<
XInterface
*
>
(
(
OWeakObject
*
)
this
);
aEvent
.
Source
=
static_cast
<
XInterface
*
>
(
static_cast
<
OWeakObject
*>
(
this
)
);
::
cppu
::
OInterfaceIteratorHelper
it
(
m_aListenerContainer
);
while
(
it
.
hasMoreElements
()
)
...
...
scripting/source/vbaevents/eventhelper.cxx
Dosyayı görüntüle @
4446cdf2
...
...
@@ -227,14 +227,14 @@ TypeList listBoxList = {&typeXListBox, 1};
//this array stores the OO event to VBA event translation info
static
TranslatePropMap
aTranslatePropMap_Impl
[]
=
{
{
OUString
(
"actionPerformed"
),
{
OUString
(
"_Change"
),
NULL
,
DenyType
,
(
void
*
)
(
&
radioButtonList
)
}
},
{
OUString
(
"actionPerformed"
),
{
OUString
(
"_Change"
),
NULL
,
DenyType
,
static_cast
<
void
*>
(
&
radioButtonList
)
}
},
// actionPerformed ooo event
{
OUString
(
"actionPerformed"
),
{
OUString
(
"_Click"
),
NULL
,
ApproveAll
,
NULL
}
},
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Change"
),
NULL
,
ApproveType
,
(
void
*
)
(
&
radioButtonList
)
}
},
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Change"
),
NULL
,
ApproveType
,
static_cast
<
void
*>
(
&
radioButtonList
)
}
},
// itemStateChanged ooo event
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Click"
),
NULL
,
ApproveType
,
(
void
*
)
(
&
comboBoxList
)
}
},
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Click"
),
NULL
,
ApproveType
,
static_cast
<
void
*>
(
&
comboBoxList
)
}
},
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Click"
),
NULL
,
ApproveType
,
(
void
*
)
(
&
listBoxList
)
}
},
{
OUString
(
"itemStateChanged"
),
{
OUString
(
"_Click"
),
NULL
,
ApproveType
,
static_cast
<
void
*>
(
&
listBoxList
)
}
},
// changed ooo event
{
OUString
(
"changed"
),
{
OUString
(
"_Change"
),
NULL
,
ApproveAll
,
NULL
}
},
...
...
@@ -243,7 +243,7 @@ static TranslatePropMap aTranslatePropMap_Impl[] =
// focusLost ooo event
{
OUString
(
"focusLost"
),
{
OUString
(
"_LostFocus"
),
NULL
,
ApproveAll
,
NULL
}
},
{
OUString
(
"focusLost"
),
{
OUString
(
"_Exit"
),
NULL
,
ApproveType
,
(
void
*
)
(
&
textCompList
)
}
},
// support VBA TextBox_Exit event
{
OUString
(
"focusLost"
),
{
OUString
(
"_Exit"
),
NULL
,
ApproveType
,
static_cast
<
void
*>
(
&
textCompList
)
}
},
// support VBA TextBox_Exit event
// adjustmentValueChanged ooo event
{
OUString
(
"adjustmentValueChanged"
),
{
OUString
(
"_Scroll"
),
NULL
,
ApproveAll
,
NULL
}
},
...
...
@@ -256,7 +256,7 @@ static TranslatePropMap aTranslatePropMap_Impl[] =
{
OUString
(
"keyReleased"
),
{
OUString
(
"_KeyUp"
),
ooKeyPressedToVBAKeyUpDown
,
ApproveAll
,
NULL
}
},
// mouseReleased ooo event
{
OUString
(
"mouseReleased"
),
{
OUString
(
"_Click"
),
ooMouseEvtToVBAMouseEvt
,
ApproveType
,
(
void
*
)
(
&
fixedTextList
)
}
},
{
OUString
(
"mouseReleased"
),
{
OUString
(
"_Click"
),
ooMouseEvtToVBAMouseEvt
,
ApproveType
,
static_cast
<
void
*>
(
&
fixedTextList
)
}
},
{
OUString
(
"mouseReleased"
),
{
OUString
(
"_MouseUp"
),
ooMouseEvtToVBAMouseEvt
,
ApproveAll
,
NULL
}
},
// mousePressed ooo event
...
...
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