diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-14 08:50:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-14 08:50:22 +0000 |
commit | affae78312196c18e8f455d3f2b945012d0f41b2 (patch) | |
tree | 26d377ffb157d15fa2be2033b701e344c469d298 /framework | |
parent | b68b3c11ef1d6faffe9f638b625ae6dc3b35d36a (diff) |
WaE: set but unused
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/xml/toolboxdocumenthandler.cxx | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/framework/source/xml/toolboxdocumenthandler.cxx b/framework/source/xml/toolboxdocumenthandler.cxx index c7097253545f..fb44b6e26681 100644 --- a/framework/source/xml/toolboxdocumenthandler.cxx +++ b/framework/source/xml/toolboxdocumenthandler.cxx @@ -319,8 +319,6 @@ throw( SAXException, RuntimeException ) ::rtl::OUString aTooltip; ::rtl::OUString aBitmapName; sal_uInt16 nItemBits( 0 ); - sal_uInt16 nWidth( 0 ); - sal_uInt16 nUserDef( 0 ); sal_Bool bVisible( sal_True ); for ( sal_Int16 n = 0; n < xAttribs->getLength(); n++ ) @@ -370,18 +368,6 @@ throw( SAXException, RuntimeException ) } break; - case TB_ATTRIBUTE_WIDTH: - { - nWidth = (USHORT)(xAttribs->getValueByIndex( n ).toInt32()); - } - break; - - case TB_ATTRIBUTE_USER: - { - nUserDef = (USHORT)(xAttribs->getValueByIndex( n ).toInt32()); - } - break; - case TB_ATTRIBUTE_HELPID: { aHelpURL = xAttribs->getValueByIndex( n ); @@ -429,9 +415,10 @@ throw( SAXException, RuntimeException ) while ( nIndex >= 0 ); } break; - - default: - break; + case TB_ATTRIBUTE_USER: + case TB_ATTRIBUTE_WIDTH: + default: + break; } } } // for |