summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-24 13:19:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-24 13:19:39 +0200
commitfe2164949b38a7f73883dbdcb3271b94e5c81744 (patch)
treed3b8d4ccfd21debfd4c554149eca01fc0f1a7d72 /sd
parent1d7c589d502fb7f0d874c13e30011ca33a3fb6e4 (diff)
teach unusedvariablecheck plugin about SfxPoolItem subclasses
which can all be treated as SAL_WARN_UNUSED The eehtml.cxx change probably fixes some CJK/CTL bug somewhere Change-Id: I6852129540f316075aee907971ac19418d71dd9a
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/tpoption.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 8ba8d68cf107..a2cff387542e 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -158,9 +158,6 @@ bool SdTpOptionsContents::FillItemSet( SfxItemSet* rAttrs )
void SdTpOptionsContents::Reset( const SfxItemSet* rAttrs )
{
- SdOptionsContentsItem aOptsItem( static_cast<const SdOptionsContentsItem&>( rAttrs->
- Get( ATTR_OPTIONS_CONTENTS ) ) );
-
SdOptionsLayoutItem aLayoutItem( static_cast<const SdOptionsLayoutItem&>( rAttrs->
Get( ATTR_OPTIONS_LAYOUT ) ) );