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
5371642e
Kaydet (Commit)
5371642e
authored
Nis 30, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unoxml: sal_Bool->bool
Change-Id: Ib0939a6285a6b4504149bb2f06cfda91938c381a
üst
417a9a4a
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
27 deletions
+27
-27
document.cxx
unoxml/source/dom/document.cxx
+1
-1
elementlist.cxx
unoxml/source/dom/elementlist.cxx
+3
-3
elementlist.hxx
unoxml/source/dom/elementlist.hxx
+1
-1
event.cxx
unoxml/source/events/event.cxx
+4
-4
event.hxx
unoxml/source/events/event.hxx
+3
-3
eventdispatcher.cxx
unoxml/source/events/eventdispatcher.cxx
+2
-2
eventdispatcher.hxx
unoxml/source/events/eventdispatcher.hxx
+2
-2
mouseevent.cxx
unoxml/source/events/mouseevent.cxx
+4
-4
mouseevent.hxx
unoxml/source/events/mouseevent.hxx
+4
-4
testlistener.cxx
unoxml/source/events/testlistener.cxx
+1
-1
testlistener.hxx
unoxml/source/events/testlistener.hxx
+2
-2
No files found.
unoxml/source/dom/document.cxx
Dosyayı görüntüle @
5371642e
...
@@ -745,7 +745,7 @@ namespace DOM
...
@@ -745,7 +745,7 @@ namespace DOM
static
Reference
<
XNode
>
static
Reference
<
XNode
>
lcl_ImportNode
(
Reference
<
XDocument
>
const
&
xDocument
,
lcl_ImportNode
(
Reference
<
XDocument
>
const
&
xDocument
,
Reference
<
XNode
>
const
&
xImportedNode
,
sal_B
ool
deep
)
Reference
<
XNode
>
const
&
xImportedNode
,
b
ool
deep
)
{
{
Reference
<
XNode
>
xNode
;
Reference
<
XNode
>
xNode
;
NodeType
aNodeType
=
xImportedNode
->
getNodeType
();
NodeType
aNodeType
=
xImportedNode
->
getNodeType
();
...
...
unoxml/source/dom/elementlist.cxx
Dosyayı görüntüle @
5371642e
...
@@ -56,7 +56,7 @@ namespace DOM
...
@@ -56,7 +56,7 @@ namespace DOM
try
{
try
{
Reference
<
XEventTarget
>
const
xTarget
(
Reference
<
XEventTarget
>
const
xTarget
(
static_cast
<
XElement
*>
(
&
rElement
),
UNO_QUERY_THROW
);
static_cast
<
XElement
*>
(
&
rElement
),
UNO_QUERY_THROW
);
sal_Bool
capture
=
sal_F
alse
;
bool
capture
=
f
alse
;
xTarget
->
addEventListener
(
"DOMSubtreeModified"
,
xTarget
->
addEventListener
(
"DOMSubtreeModified"
,
Reference
<
XEventListener
>
(
this
),
capture
);
Reference
<
XEventListener
>
(
this
),
capture
);
}
catch
(
const
Exception
&
e
){
}
catch
(
const
Exception
&
e
){
...
@@ -66,7 +66,7 @@ namespace DOM
...
@@ -66,7 +66,7 @@ namespace DOM
}
}
}
}
void
CElementList
::
buildlist
(
xmlNodePtr
pNode
,
sal_B
ool
start
)
void
CElementList
::
buildlist
(
xmlNodePtr
pNode
,
b
ool
start
)
{
{
// bail out if no rebuild is needed
// bail out if no rebuild is needed
if
(
start
)
{
if
(
start
)
{
...
@@ -94,7 +94,7 @@ namespace DOM
...
@@ -94,7 +94,7 @@ namespace DOM
}
}
}
}
}
}
if
(
pNode
->
children
!=
NULL
)
buildlist
(
pNode
->
children
,
sal_F
alse
);
if
(
pNode
->
children
!=
NULL
)
buildlist
(
pNode
->
children
,
f
alse
);
if
(
!
start
)
pNode
=
pNode
->
next
;
if
(
!
start
)
pNode
=
pNode
->
next
;
else
break
;
// fold back
else
break
;
// fold back
...
...
unoxml/source/dom/elementlist.hxx
Dosyayı görüntüle @
5371642e
...
@@ -61,7 +61,7 @@ namespace DOM
...
@@ -61,7 +61,7 @@ namespace DOM
bool
m_bRebuild
;
bool
m_bRebuild
;
nodevector_t
m_nodevector
;
nodevector_t
m_nodevector
;
void
buildlist
(
xmlNodePtr
pNode
,
sal_Bool
start
=
sal_T
rue
);
void
buildlist
(
xmlNodePtr
pNode
,
bool
start
=
t
rue
);
void
registerListener
(
CElement
&
rElement
);
void
registerListener
(
CElement
&
rElement
);
public
:
public
:
...
...
unoxml/source/events/event.cxx
Dosyayı görüntüle @
5371642e
...
@@ -23,10 +23,10 @@ namespace DOM { namespace events
...
@@ -23,10 +23,10 @@ namespace DOM { namespace events
{
{
CEvent
::
CEvent
()
CEvent
::
CEvent
()
:
m_canceled
(
sal_F
alse
)
:
m_canceled
(
f
alse
)
,
m_phase
(
PhaseType_CAPTURING_PHASE
)
,
m_phase
(
PhaseType_CAPTURING_PHASE
)
,
m_bubbles
(
sal_F
alse
)
,
m_bubbles
(
f
alse
)
,
m_cancelable
(
sal_T
rue
)
,
m_cancelable
(
t
rue
)
{
{
}
}
...
@@ -82,7 +82,7 @@ namespace DOM { namespace events
...
@@ -82,7 +82,7 @@ namespace DOM { namespace events
void
SAL_CALL
CEvent
::
stopPropagation
()
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
CEvent
::
stopPropagation
()
throw
(
RuntimeException
,
std
::
exception
)
{
{
::
osl
::
MutexGuard
const
g
(
m_Mutex
);
::
osl
::
MutexGuard
const
g
(
m_Mutex
);
if
(
m_cancelable
)
{
m_canceled
=
sal_T
rue
;
}
if
(
m_cancelable
)
{
m_canceled
=
t
rue
;
}
}
}
void
SAL_CALL
CEvent
::
preventDefault
()
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
CEvent
::
preventDefault
()
throw
(
RuntimeException
,
std
::
exception
)
...
...
unoxml/source/events/event.hxx
Dosyayı görüntüle @
5371642e
...
@@ -45,13 +45,13 @@ friend class CEventDispatcher;
...
@@ -45,13 +45,13 @@ friend class CEventDispatcher;
protected
:
protected
:
::
osl
::
Mutex
m_Mutex
;
::
osl
::
Mutex
m_Mutex
;
sal_B
ool
m_canceled
;
b
ool
m_canceled
;
OUString
m_eventType
;
OUString
m_eventType
;
Reference
<
XEventTarget
>
m_target
;
Reference
<
XEventTarget
>
m_target
;
Reference
<
XEventTarget
>
m_currentTarget
;
Reference
<
XEventTarget
>
m_currentTarget
;
PhaseType
m_phase
;
PhaseType
m_phase
;
sal_B
ool
m_bubbles
;
b
ool
m_bubbles
;
sal_B
ool
m_cancelable
;
b
ool
m_cancelable
;
com
::
sun
::
star
::
util
::
Time
m_time
;
com
::
sun
::
star
::
util
::
Time
m_time
;
public
:
public
:
...
...
unoxml/source/events/eventdispatcher.cxx
Dosyayı görüntüle @
5371642e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
namespace
DOM
{
namespace
events
{
namespace
DOM
{
namespace
events
{
void
CEventDispatcher
::
addListener
(
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
Reference
<
XEventListener
>&
aListener
,
sal_B
ool
bCapture
)
void
CEventDispatcher
::
addListener
(
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
Reference
<
XEventListener
>&
aListener
,
b
ool
bCapture
)
{
{
TypeListenerMap
*
const
pTMap
=
(
bCapture
)
TypeListenerMap
*
const
pTMap
=
(
bCapture
)
?
(
&
m_CaptureListeners
)
:
(
&
m_TargetListeners
);
?
(
&
m_CaptureListeners
)
:
(
&
m_TargetListeners
);
...
@@ -48,7 +48,7 @@ namespace DOM { namespace events {
...
@@ -48,7 +48,7 @@ namespace DOM { namespace events {
pMap
->
insert
(
ListenerMap
::
value_type
(
pNode
,
aListener
));
pMap
->
insert
(
ListenerMap
::
value_type
(
pNode
,
aListener
));
}
}
void
CEventDispatcher
::
removeListener
(
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
Reference
<
XEventListener
>&
aListener
,
sal_B
ool
bCapture
)
void
CEventDispatcher
::
removeListener
(
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
Reference
<
XEventListener
>&
aListener
,
b
ool
bCapture
)
{
{
TypeListenerMap
*
const
pTMap
=
(
bCapture
)
TypeListenerMap
*
const
pTMap
=
(
bCapture
)
?
(
&
m_CaptureListeners
)
:
(
&
m_TargetListeners
);
?
(
&
m_CaptureListeners
)
:
(
&
m_TargetListeners
);
...
...
unoxml/source/events/eventdispatcher.hxx
Dosyayı görüntüle @
5371642e
...
@@ -59,13 +59,13 @@ public:
...
@@ -59,13 +59,13 @@ public:
xmlNodePtr
pNode
,
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
OUString
&
aType
,
const
Reference
<
com
::
sun
::
star
::
xml
::
dom
::
events
::
XEventListener
>&
aListener
,
const
Reference
<
com
::
sun
::
star
::
xml
::
dom
::
events
::
XEventListener
>&
aListener
,
sal_B
ool
bCapture
);
b
ool
bCapture
);
void
removeListener
(
void
removeListener
(
xmlNodePtr
pNode
,
xmlNodePtr
pNode
,
const
OUString
&
aType
,
const
OUString
&
aType
,
const
Reference
<
com
::
sun
::
star
::
xml
::
dom
::
events
::
XEventListener
>&
aListener
,
const
Reference
<
com
::
sun
::
star
::
xml
::
dom
::
events
::
XEventListener
>&
aListener
,
sal_B
ool
bCapture
);
b
ool
bCapture
);
static
void
callListeners
(
static
void
callListeners
(
TypeListenerMap
const
&
rTMap
,
TypeListenerMap
const
&
rTMap
,
...
...
unoxml/source/events/mouseevent.cxx
Dosyayı görüntüle @
5371642e
...
@@ -27,10 +27,10 @@ namespace DOM { namespace events
...
@@ -27,10 +27,10 @@ namespace DOM { namespace events
,
m_screenY
(
0
)
,
m_screenY
(
0
)
,
m_clientX
(
0
)
,
m_clientX
(
0
)
,
m_clientY
(
0
)
,
m_clientY
(
0
)
,
m_ctrlKey
(
sal_F
alse
)
,
m_ctrlKey
(
f
alse
)
,
m_shiftKey
(
sal_F
alse
)
,
m_shiftKey
(
f
alse
)
,
m_altKey
(
sal_F
alse
)
,
m_altKey
(
f
alse
)
,
m_metaKey
(
sal_F
alse
)
,
m_metaKey
(
f
alse
)
,
m_button
(
0
)
,
m_button
(
0
)
{
{
}
}
...
...
unoxml/source/events/mouseevent.hxx
Dosyayı görüntüle @
5371642e
...
@@ -40,10 +40,10 @@ protected:
...
@@ -40,10 +40,10 @@ protected:
sal_Int32
m_screenY
;
sal_Int32
m_screenY
;
sal_Int32
m_clientX
;
sal_Int32
m_clientX
;
sal_Int32
m_clientY
;
sal_Int32
m_clientY
;
sal_B
ool
m_ctrlKey
;
b
ool
m_ctrlKey
;
sal_B
ool
m_shiftKey
;
b
ool
m_shiftKey
;
sal_B
ool
m_altKey
;
b
ool
m_altKey
;
sal_B
ool
m_metaKey
;
b
ool
m_metaKey
;
sal_Int16
m_button
;
sal_Int16
m_button
;
Reference
<
XEventTarget
>
m_relatedTarget
;
Reference
<
XEventTarget
>
m_relatedTarget
;
...
...
unoxml/source/events/testlistener.cxx
Dosyayı görüntüle @
5371642e
...
@@ -93,7 +93,7 @@ namespace DOM { namespace events
...
@@ -93,7 +93,7 @@ namespace DOM { namespace events
if
(
!
(
args
[
1
]
>>=
aType
))
if
(
!
(
args
[
1
]
>>=
aType
))
throw
IllegalArgumentException
(
"Illegal argument 2"
,
Reference
<
XInterface
>
(),
2
);
throw
IllegalArgumentException
(
"Illegal argument 2"
,
Reference
<
XInterface
>
(),
2
);
sal_Bool
bCapture
=
sal_F
alse
;
bool
bCapture
=
f
alse
;
if
(
!
(
args
[
2
]
>>=
bCapture
))
throw
IllegalArgumentException
(
if
(
!
(
args
[
2
]
>>=
bCapture
))
throw
IllegalArgumentException
(
"Illegal argument 3"
,
Reference
<
XInterface
>
(),
3
);
"Illegal argument 3"
,
Reference
<
XInterface
>
(),
3
);
...
...
unoxml/source/events/testlistener.hxx
Dosyayı görüntüle @
5371642e
...
@@ -58,7 +58,7 @@ namespace DOM { namespace events
...
@@ -58,7 +58,7 @@ namespace DOM { namespace events
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
m_factory
;
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
m_factory
;
Reference
<
XEventTarget
>
m_target
;
Reference
<
XEventTarget
>
m_target
;
OUString
m_type
;
OUString
m_type
;
sal_B
ool
m_capture
;
b
ool
m_capture
;
OUString
m_name
;
OUString
m_name
;
public
:
public
:
...
@@ -76,7 +76,7 @@ namespace DOM { namespace events
...
@@ -76,7 +76,7 @@ namespace DOM { namespace events
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rSMgr
)
rSMgr
)
:
m_factory
(
rSMgr
)
:
m_factory
(
rSMgr
)
,
m_capture
(
sal_F
alse
)
,
m_capture
(
f
alse
)
{
{
}
}
...
...
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