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
c921885c
Kaydet (Commit)
c921885c
authored
Haz 29, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1308463 Uncaught exception
Change-Id: If0308eb0068951af425cb691672b915decc384a2
üst
16f8348f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
unoapi.hxx
include/svx/unoapi.hxx
+2
-2
unoprov.cxx
svx/source/unodraw/unoprov.cxx
+4
-4
No files found.
include/svx/unoapi.hxx
Dosyayı görüntüle @
c921885c
...
...
@@ -82,14 +82,14 @@ SVX_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi
* the corresponding API name.
*/
SVX_DLLPUBLIC
SAL_WARN_UNUSED_RESULT
OUString
SvxUnogetApiNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rInternalName
)
throw
();
SvxUnogetApiNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rInternalName
)
throw
(
std
::
exception
);
/**
* If the given name is a predefined API name it is replaced by the predefined name
* for the current language.
*/
SVX_DLLPUBLIC
SAL_WARN_UNUSED_RESULT
OUString
SvxUnogetInternalNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rApiName
)
throw
();
SvxUnogetInternalNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rApiName
)
throw
(
std
::
exception
);
#endif // INCLUDED_SVX_UNOAPI_HXX
...
...
svx/source/unodraw/unoprov.cxx
Dosyayı görüntüle @
c921885c
...
...
@@ -1126,7 +1126,7 @@ bool SvxUnoGetResourceRanges( const short nWhich, int& nApiResIds, int& nIntResI
return
true
;
}
bool
SvxUnoConvertResourceString
(
int
nSourceResIds
,
int
nDestResIds
,
int
nCount
,
OUString
&
rString
)
throw
()
bool
SvxUnoConvertResourceString
(
int
nSourceResIds
,
int
nDestResIds
,
int
nCount
,
OUString
&
rString
)
throw
(
std
::
exception
)
{
// first, calculate the search string length without an optional number behind the name
sal_Int32
nLength
=
rString
.
getLength
();
...
...
@@ -1281,7 +1281,7 @@ static const sal_uInt16 SvxUnoColorNameResId[] =
bool
SvxUnoConvertResourceString
(
const
sal_uInt16
*
pSourceResIds
,
const
sal_uInt16
*
pDestResIds
,
int
nCount
,
OUString
&
rString
)
throw
(
)
bool
SvxUnoConvertResourceString
(
const
sal_uInt16
*
pSourceResIds
,
const
sal_uInt16
*
pDestResIds
,
int
nCount
,
OUString
&
rString
)
throw
(
std
::
exception
)
{
//We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
//replace "Red Hat 1" with the translation of Red :-)
...
...
@@ -1312,7 +1312,7 @@ bool SvxUnoConvertResourceString( const sal_uInt16* pSourceResIds, const sal_uIn
/** if the given name is a predefined name for the current language it is replaced by
the corresponding api name.
*/
OUString
SvxUnogetApiNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rInternalName
)
throw
()
OUString
SvxUnogetApiNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rInternalName
)
throw
(
std
::
exception
)
{
OUString
aNew
=
rInternalName
;
...
...
@@ -1345,7 +1345,7 @@ OUString SvxUnogetApiNameForItem(const sal_Int16 nWhich, const OUString& rIntern
/** if the given name is a predefined api name it is replaced by the predefined name
for the current language.
*/
OUString
SvxUnogetInternalNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rApiName
)
throw
()
OUString
SvxUnogetInternalNameForItem
(
const
sal_Int16
nWhich
,
const
OUString
&
rApiName
)
throw
(
std
::
exception
)
{
OUString
aNew
=
rApiName
;
...
...
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