summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-13 20:39:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-14 09:21:02 +0100
commit2d11ddeb7cd3c94b9c7acede816912754465f4ef (patch)
treed8571afe5f83f3d7941d88fa7b7ebc6b531ce10a /oovbaapi
parentb166135056a784be4700b1c1d83975289b7f99ea (diff)
coverity#707036 Uncaught exception
Change-Id: If4e5fdad7261ba6b92a04e615e28d2b474ad4234
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/excel/XWorkbook.idl2
-rw-r--r--oovbaapi/ooo/vba/word/XDocument.idl2
2 files changed, 2 insertions, 2 deletions
diff --git a/oovbaapi/ooo/vba/excel/XWorkbook.idl b/oovbaapi/ooo/vba/excel/XWorkbook.idl
index 5f286d5a33d9..9efbf6ce354c 100644
--- a/oovbaapi/ooo/vba/excel/XWorkbook.idl
+++ b/oovbaapi/ooo/vba/excel/XWorkbook.idl
@@ -44,7 +44,7 @@ interface XWorkbook
[attribute] boolean PrecisionAsDisplayed;
any Worksheets( [in] any Index );
- any Styles( [in] any Index );
+ any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
any Sheets( [in] any Index );
any Windows( [in] any Index );
void ResetColors() raises (com::sun::star::script::BasicErrorException);
diff --git a/oovbaapi/ooo/vba/word/XDocument.idl b/oovbaapi/ooo/vba/word/XDocument.idl
index dd2751efc699..1dde907ca342 100644
--- a/oovbaapi/ooo/vba/word/XDocument.idl
+++ b/oovbaapi/ooo/vba/word/XDocument.idl
@@ -42,7 +42,7 @@ interface XDocument : com::sun::star::script::XInvocation
any Bookmarks( [in] any Index );
any Variables( [in] any Index );
any Paragraphs( [in] any Index );
- any Styles( [in] any Index );
+ any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
any Tables( [in] any Index );
any Fields( [in] any Index );
any Shapes( [in] any Index );