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
11291be1
Kaydet (Commit)
11291be1
authored
Tem 14, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#738453 Uncaught exception
Change-Id: Id05fd31d3a62bec8d658b9ecbae484ac081b8960
üst
f9c460e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vbaheadersfooters.cxx
sw/source/ui/vba/vbaheadersfooters.cxx
+2
-2
vbaheadersfooters.hxx
sw/source/ui/vba/vbaheadersfooters.hxx
+1
-1
No files found.
sw/source/ui/vba/vbaheadersfooters.cxx
Dosyayı görüntüle @
11291be1
...
@@ -89,13 +89,13 @@ SwVbaHeadersFooters::SwVbaHeadersFooters( const uno::Reference< XHelperInterface
...
@@ -89,13 +89,13 @@ SwVbaHeadersFooters::SwVbaHeadersFooters( const uno::Reference< XHelperInterface
return
3
;
return
3
;
}
}
uno
::
Any
SAL_CALL
SwVbaHeadersFooters
::
Item
(
const
uno
::
Any
&
Index1
,
const
uno
::
Any
&
)
throw
(
uno
::
RuntimeException
)
uno
::
Any
SAL_CALL
SwVbaHeadersFooters
::
Item
(
const
uno
::
Any
&
Index1
,
const
uno
::
Any
&
)
throw
(
lang
::
IndexOutOfBoundsException
,
uno
::
RuntimeException
)
{
{
sal_Int32
nIndex
=
0
;
sal_Int32
nIndex
=
0
;
Index1
>>=
nIndex
;
Index1
>>=
nIndex
;
if
(
(
nIndex
<
1
)
||
(
nIndex
>
3
)
)
if
(
(
nIndex
<
1
)
||
(
nIndex
>
3
)
)
{
{
throw
container
::
NoSuchElement
Exception
();
throw
lang
::
IndexOutOfBounds
Exception
();
}
}
return
uno
::
makeAny
(
uno
::
Reference
<
word
::
XHeaderFooter
>
(
new
SwVbaHeaderFooter
(
this
,
mxContext
,
mxModel
,
mxPageStyleProps
,
mbHeader
,
nIndex
)
)
);
return
uno
::
makeAny
(
uno
::
Reference
<
word
::
XHeaderFooter
>
(
new
SwVbaHeaderFooter
(
this
,
mxContext
,
mxModel
,
mxPageStyleProps
,
mbHeader
,
nIndex
)
)
);
}
}
...
...
sw/source/ui/vba/vbaheadersfooters.hxx
Dosyayı görüntüle @
11291be1
...
@@ -37,7 +37,7 @@ public:
...
@@ -37,7 +37,7 @@ public:
virtual
~
SwVbaHeadersFooters
()
{}
virtual
~
SwVbaHeadersFooters
()
{}
virtual
::
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
::
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
SAL_CALL
Item
(
const
css
::
uno
::
Any
&
Index1
,
const
css
::
uno
::
Any
&
)
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
SAL_CALL
Item
(
const
css
::
uno
::
Any
&
Index1
,
const
css
::
uno
::
Any
&
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
// XEnumerationAccess
// XEnumerationAccess
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
;
...
...
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