[Libreoffice-commits] .: cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Feb 13 13:20:55 PST 2011
cui/source/tabpages/backgrnd.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 42211c341238f4e6bebe11ab54b93d89fd20bf54
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Feb 13 11:33:32 2011 +0000
WaE: unused return val
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index ca79424..9aabee4 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -591,8 +591,8 @@ void SvxBackgroundTabPage::Reset( const SfxItemSet& rSet )
}
nWhich = GetWhich( SID_ATTR_BRUSH_CHAR );
- SfxItemState eState = rSet.GetItemState( nWhich, TRUE );
- eState = rSet.GetItemState( nWhich, FALSE );
+ rSet.GetItemState( nWhich, TRUE );
+ rSet.GetItemState( nWhich, FALSE );
if ( rSet.GetItemState( nWhich, TRUE ) > SFX_ITEM_AVAILABLE )
{
pBgdAttr = (const SvxBrushItem*)&( rSet.Get( nWhich ) );
More information about the Libreoffice-commits
mailing list