diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-11 11:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 10:10:46 +0200 |
commit | 4b57c28302def4dd56b2dc8ffb73f21b688a6534 (patch) | |
tree | 7e6ecddbcea60ec39e0525c4902783f6a97dd8ee /sc/source/ui/vba | |
parent | 9e4d84daf279a63052cfd0aeebd2d67dfaf07c67 (diff) |
tag ScAddress and friends with SAL_WARN_UNUSED
Change-Id: I4ed6b1e8b4225a87fbcb863a47c84e30228b5352
Reviewed-on: https://gerrit.libreoffice.org/36407
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r-- | sc/source/ui/vba/vbanames.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx index c366521f81e0..4717fcf6611f 100644 --- a/sc/source/ui/vba/vbanames.cxx +++ b/sc/source/ui/vba/vbanames.cxx @@ -198,8 +198,7 @@ ScVbaNames::Add( const css::uno::Any& Name , uno::Reference< sheet::XCellRangeAddressable > thisRangeAdd( aAny, ::uno::UNO_QUERY_THROW); table::CellRangeAddress aAddr = thisRangeAdd->getRangeAddress(); - ScAddress aPos( static_cast< SCCOL >( aAddr.StartColumn ) , static_cast< SCROW >( aAddr.StartRow ) , static_cast< SCTAB >(aAddr.Sheet ) ); - uno::Any aAny2 ; + uno::Any aAny2; if ( mxNames.is() ) { sal_Int32 nUnoType = 0; |