summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 12:02:42 +0200
committerNoel Grandin <noel@peralex.com>2014-05-28 10:00:53 +0200
commit19c0d7ba5f726c3ccfa7e7075f9e7a66b59cd6db (patch)
tree09d84993e916774ea3033ac129b07dc9564a1d32 /sc
parent7cfb4f864ab9b61241e2b9ffb645e9a0d4dd1a6d (diff)
cid#706960 Uncaught exception
Change-Id: Idb845cd756767eb4d5caf6ff0b735e71fef0efce
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaformat.cxx2
-rw-r--r--sc/source/ui/vba/vbaformat.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaformat.cxx b/sc/source/ui/vba/vbaformat.cxx
index bf1da4afcc06..90bd2ca71dab 100644
--- a/sc/source/ui/vba/vbaformat.cxx
+++ b/sc/source/ui/vba/vbaformat.cxx
@@ -751,7 +751,7 @@ ScVbaFormat<Ifc1>::isAmbiguous(const OUString& _sPropertyName) throw ( script::B
template< typename Ifc1 >
void
-ScVbaFormat<Ifc1>::initializeNumberFormats() throw ( script::BasicErrorException )
+ScVbaFormat<Ifc1>::initializeNumberFormats() throw ( script::BasicErrorException, uno::RuntimeException )
{
if ( !xNumberFormats.is() )
{
diff --git a/sc/source/ui/vba/vbaformat.hxx b/sc/source/ui/vba/vbaformat.hxx
index edeb01e31652..7bf80d174699 100644
--- a/sc/source/ui/vba/vbaformat.hxx
+++ b/sc/source/ui/vba/vbaformat.hxx
@@ -51,7 +51,7 @@ protected:
css::uno::Reference< css::lang::XMultiServiceFactory > xMultiServiceFactory;
bool isAmbiguous(const OUString& _sPropertyName) throw ( css::script::BasicErrorException );
css::uno::Reference< css::beans::XPropertyState > getXPropertyState() throw ( css::uno::RuntimeException );
- void initializeNumberFormats() throw ( css::script::BasicErrorException );
+ void initializeNumberFormats() throw ( css::script::BasicErrorException, css::uno::RuntimeException );
SfxItemSet* getCurrentDataSet( ) throw ( css::uno::RuntimeException );
protected:
virtual ScCellRangesBase* getCellRangesBase() throw ( css::uno::RuntimeException );