diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-11 14:09:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-12 08:59:06 +0200 |
commit | 49ba7d0e6572a021566f7f11838213f530be7a16 (patch) | |
tree | 96bb86116b80572a4d5829522e4c6a80c9ad89ee /sc/source/ui | |
parent | a3682484c69500886931d921b886d63fa289d853 (diff) |
cid#705213 missing break in switch
Change-Id: If38d94453adb5014e9f044d2e6b518f6dd6468d7
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index acd640b173da..39848d493f8a 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -1413,14 +1413,17 @@ table::CellRangeAddress getCellRangeAddressForVBARange( const uno::Any& aParam, } } } + break; + case uno::TypeClass_INTERFACE: { uno::Reference< excel::XRange > xRange; aParam >>= xRange; if ( xRange.is() ) xRange->getCellRange() >>= xRangeParam; - break; } + break; + default: throw uno::RuntimeException("Can't extact CellRangeAddress from type", uno::Reference< uno::XInterface >() ); } |