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
8de4c736
Kaydet (Commit)
8de4c736
authored
Eyl 04, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#983958 Uncaught exception
Change-Id: Idd9c2dcfbeceb3519b1632a2f9b2651c73451061
üst
742060f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
XTextPortionAppend.idl
offapi/com/sun/star/text/XTextPortionAppend.idl
+5
-3
unotext.hxx
sw/inc/unotext.hxx
+5
-2
unotext.cxx
sw/source/core/unocore/unotext.cxx
+3
-1
No files found.
offapi/com/sun/star/text/XTextPortionAppend.idl
Dosyayı görüntüle @
8de4c736
...
...
@@ -22,8 +22,8 @@
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
include
<
com
/
sun
/
star
/
beans
/
PropertyValues
.
idl>
#
include
<
com
/
sun
/
star
/
lang
/
IllegalArgumentException
.
idl>
#
include
<
com
/
sun
/
star
/
beans
/
UnknownPropertyException
.
idl>
#
include
<
com
/
sun
/
star
/
beans
/
PropertyVetoException
,
idl
>
#
include
<
com
/
sun
/
star
/
text
/
XTextRange
.
idl>
...
...
@@ -51,7 +51,8 @@ interface XTextPortionAppend : com::sun::star::uno::XInterface
[
in
]
string
Text
,
[
in
]
com
::
sun
::
star
::
beans
::
PropertyValues
CharacterAndParagraphProperties
)
raises
(
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
com
::
sun
::
star
::
beans
::
UnknownPropertyException
)
;
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
com
::
sun
::
star
::
beans
::
PropertyVetoException
)
;
/**
inserts
a
new
text
portion
to
the
paragraph
at
a
given
position
.
...
...
@@ -76,7 +77,8 @@ interface XTextPortionAppend : com::sun::star::uno::XInterface
[
in
]
com
::
sun
::
star
::
beans
::
PropertyValues
CharacterAndParagraphProperties
,
[
in
]
com
::
sun
::
star
::
text
::
XTextRange
TextRange
)
raises
(
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
com
::
sun
::
star
::
beans
::
UnknownPropertyException
)
;
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
com
::
sun
::
star
::
beans
::
PropertyVetoException
)
;
}
;
...
...
sw/inc/unotext.hxx
Dosyayı görüntüle @
8de4c736
...
...
@@ -228,8 +228,10 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
rCharacterAndParagraphProperties
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
beans
::
UnknownPropertyException
,
css
::
beans
::
PropertyVetoException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
text
::
XTextRange
>
SAL_CALL
...
...
@@ -243,6 +245,7 @@ public:
rTextRange
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
beans
::
UnknownPropertyException
,
css
::
beans
::
PropertyVetoException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
sw/source/core/unocore/unotext.cxx
Dosyayı görüntüle @
8de4c736
...
...
@@ -1363,6 +1363,7 @@ SwXText::insertTextPortion(
rCharacterAndParagraphProperties
,
const
uno
::
Reference
<
text
::
XTextRange
>&
xInsertPosition
)
throw
(
lang
::
IllegalArgumentException
,
beans
::
UnknownPropertyException
,
beans
::
PropertyVetoException
,
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
...
...
@@ -1443,7 +1444,8 @@ SwXText::appendTextPortion(
const
OUString
&
rText
,
const
uno
::
Sequence
<
beans
::
PropertyValue
>
&
rCharacterAndParagraphProperties
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
throw
(
lang
::
IllegalArgumentException
,
beans
::
UnknownPropertyException
,
beans
::
PropertyVetoException
,
uno
::
RuntimeException
,
std
::
exception
)
{
// Right now this doesn't need a guard, as it's just calling the insert
// version, that has it already.
...
...
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