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
e27ac011
Kaydet (Commit)
e27ac011
authored
Eki 01, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin: cstylecast
Change-Id: I9fca98995131358b3b112b11e0b28feb1a3267d1
üst
c190577f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
28 deletions
+28
-28
embedobj.cxx
embeddedobj/source/commonembedding/embedobj.cxx
+2
-2
miscobj.cxx
embeddedobj/source/commonembedding/miscobj.cxx
+3
-3
dummyobject.cxx
embeddedobj/source/general/dummyobject.cxx
+3
-3
oleembed.cxx
embeddedobj/source/msole/oleembed.cxx
+3
-3
olemisc.cxx
embeddedobj/source/msole/olemisc.cxx
+3
-3
hwpreader.cxx
hwpfilter/source/hwpreader.cxx
+14
-14
No files found.
embeddedobj/source/commonembedding/embedobj.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -132,9 +132,9 @@ void OCommonEmbeddedObject::StateChangeNotification_Impl( bool bBeforeChange, sa
try
{
if
(
bBeforeChange
)
((
embed
::
XStateChangeListener
*
)
pIterator
.
next
())
->
changingState
(
aSource
,
nOldState
,
nNewState
);
static_cast
<
embed
::
XStateChangeListener
*>
(
pIterator
.
next
())
->
changingState
(
aSource
,
nOldState
,
nNewState
);
else
((
embed
::
XStateChangeListener
*
)
pIterator
.
next
())
->
stateChanged
(
aSource
,
nOldState
,
nNewState
);
static_cast
<
embed
::
XStateChangeListener
*>
(
pIterator
.
next
())
->
stateChanged
(
aSource
,
nOldState
,
nNewState
);
}
catch
(
const
uno
::
Exception
&
)
{
...
...
embeddedobj/source/commonembedding/miscobj.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -334,7 +334,7 @@ void OCommonEmbeddedObject::PostEvent_Impl( const OUString& aEventName )
{
try
{
((
document
::
XEventListener
*
)
aIt
.
next
())
->
notifyEvent
(
aEvent
);
static_cast
<
document
::
XEventListener
*>
(
aIt
.
next
())
->
notifyEvent
(
aEvent
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -550,7 +550,7 @@ void SAL_CALL OCommonEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
static_cast
<
util
::
XCloseListener
*>
(
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -568,7 +568,7 @@ void SAL_CALL OCommonEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
static_cast
<
util
::
XCloseListener
*>
(
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
embeddedobj/source/general/dummyobject.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -76,7 +76,7 @@ void ODummyEmbeddedObject::PostEvent_Impl( const OUString& aEventName )
{
try
{
((
document
::
XEventListener
*
)
aIt
.
next
())
->
notifyEvent
(
aEvent
);
static_cast
<
document
::
XEventListener
*>
(
aIt
.
next
())
->
notifyEvent
(
aEvent
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -634,7 +634,7 @@ void SAL_CALL ODummyEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
static_cast
<
util
::
XCloseListener
*>
(
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -652,7 +652,7 @@ void SAL_CALL ODummyEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
static_cast
<
util
::
XCloseListener
*>
(
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
embeddedobj/source/msole/oleembed.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -136,7 +136,7 @@ void OleEmbeddedObject::MoveListeners()
{
try
{
xWrappedObject
->
addStateChangeListener
(
(
embed
::
XStateChangeListener
*
)
pIterator
.
next
(
)
);
xWrappedObject
->
addStateChangeListener
(
static_cast
<
embed
::
XStateChangeListener
*>
(
pIterator
.
next
()
)
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -161,7 +161,7 @@ void OleEmbeddedObject::MoveListeners()
{
try
{
xWrappedObject
->
addEventListener
(
(
document
::
XEventListener
*
)
pIterator
.
next
(
)
);
xWrappedObject
->
addEventListener
(
static_cast
<
document
::
XEventListener
*>
(
pIterator
.
next
()
)
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -186,7 +186,7 @@ void OleEmbeddedObject::MoveListeners()
{
try
{
xWrappedObject
->
addCloseListener
(
(
util
::
XCloseListener
*
)
pIterator
.
next
(
)
);
xWrappedObject
->
addCloseListener
(
static_cast
<
util
::
XCloseListener
*>
(
pIterator
.
next
()
)
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
embeddedobj/source/msole/olemisc.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -175,7 +175,7 @@ void OleEmbeddedObject::MakeEventListenerNotification_Impl( const OUString& aEve
{
try
{
((
document
::
XEventListener
*
)
pIterator
.
next
())
->
notifyEvent
(
aEvent
);
static_cast
<
document
::
XEventListener
*>
(
pIterator
.
next
())
->
notifyEvent
(
aEvent
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -479,7 +479,7 @@ void SAL_CALL OleEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
static_cast
<
util
::
XCloseListener
*>
(
pIterator
.
next
())
->
queryClosing
(
aSource
,
bDeliverOwnership
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
@@ -497,7 +497,7 @@ void SAL_CALL OleEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
((
util
::
XCloseListener
*
)
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
static_cast
<
util
::
XCloseListener
*>
(
pCloseIterator
.
next
())
->
notifyClosing
(
aSource
);
}
catch
(
const
uno
::
RuntimeException
&
)
{
...
...
hwpfilter/source/hwpreader.cxx
Dosyayı görüntüle @
e27ac011
...
...
@@ -2918,7 +2918,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
}
else
if
(
para
->
hhstr
[
n
]
->
hh
==
CH_FIELD
)
{
FieldCode
*
hbox
=
(
FieldCode
*
)
para
->
hhstr
[
n
]
;
FieldCode
*
hbox
=
static_cast
<
FieldCode
*>
(
para
->
hhstr
[
n
])
;
if
(
hbox
->
location_info
==
1
)
{
if
(
!
pstart
)
{
STARTP
;}
...
...
@@ -2954,7 +2954,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeBookmark
(
(
Bookmark
*
)
para
->
hhstr
[
n
]
);
makeBookmark
(
static_cast
<
Bookmark
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_DATE_FORM
:
// 7
break
;
...
...
@@ -2962,7 +2962,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeDateCode
(
(
DateCode
*
)
para
->
hhstr
[
n
]
);
makeDateCode
(
static_cast
<
DateCode
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_TAB
:
// 9
if
(
!
pstart
)
{
STARTP
;}
...
...
@@ -2971,12 +2971,12 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
}
makeTab
(
(
Tab
*
)
para
->
hhstr
[
n
]
);
makeTab
(
static_cast
<
Tab
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_TEXT_BOX
:
/* 10 - 표/텍스트박스/수식/버튼/하이퍼텍스트 순 */
{
/* 일단은 표만 처리하고, 수식은 text:p안에 들어가는 것으로 처리. */
TxtBox
*
hbox
=
(
TxtBox
*
)
para
->
hhstr
[
n
]
;
TxtBox
*
hbox
=
static_cast
<
TxtBox
*>
(
para
->
hhstr
[
n
])
;
if
(
hbox
->
style
.
anchor_type
==
0
)
{
...
...
@@ -3010,7 +3010,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
}
case
CH_PICTURE
:
// 11
{
Picture
*
hbox
=
(
Picture
*
)
para
->
hhstr
[
n
]
;
Picture
*
hbox
=
static_cast
<
Picture
*>
(
para
->
hhstr
[
n
])
;
if
(
hbox
->
style
.
anchor_type
==
0
)
{
if
(
!
pstart
)
{
STARTP
;}
...
...
@@ -3032,7 +3032,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
}
case
CH_LINE
:
// 14
{
Line
*
hbox
=
(
Line
*
)
para
->
hhstr
[
n
]
;
Line
*
hbox
=
static_cast
<
Line
*>
(
para
->
hhstr
[
n
])
;
if
(
str
.
size
()
>
0
)
{
if
(
!
pstart
)
{
STARTP
;}
...
...
@@ -3049,19 +3049,19 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeHidden
(
(
Hidden
*
)
para
->
hhstr
[
n
]
);
makeHidden
(
static_cast
<
Hidden
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_FOOTNOTE
:
// 17
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeFootnote
(
(
Footnote
*
)
para
->
hhstr
[
n
]
);
makeFootnote
(
static_cast
<
Footnote
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_AUTO_NUM
:
// 18
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeAutoNum
(
(
AutoNum
*
)
para
->
hhstr
[
n
]
);
makeAutoNum
(
static_cast
<
AutoNum
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_NEW_NUM
:
// 19 -skip
break
;
...
...
@@ -3071,7 +3071,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeMailMerge
(
(
MailMerge
*
)
para
->
hhstr
[
n
]
);
makeMailMerge
(
static_cast
<
MailMerge
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_COMPOSE
:
/* 23 - 글자겹침 */
break
;
...
...
@@ -3081,19 +3081,19 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeTocMark
(
(
TocMark
*
)
para
->
hhstr
[
n
]
);
makeTocMark
(
static_cast
<
TocMark
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_INDEX_MARK
:
// 26
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeIndexMark
(
(
IndexMark
*
)
para
->
hhstr
[
n
]
);
makeIndexMark
(
static_cast
<
IndexMark
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_OUTLINE
:
// 28
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeOutline
(
(
Outline
*
)
para
->
hhstr
[
n
]
);
makeOutline
(
static_cast
<
Outline
*>
(
para
->
hhstr
[
n
])
);
break
;
case
CH_FIXED_SPACE
:
case
CH_KEEP_SPACE
:
...
...
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