Kaydet (Commit) 7d146bdf authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

[cppchecker] deleting unread variable

üst efce802d
......@@ -3432,8 +3432,7 @@ SwTrnsfrDdeLink::SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh )
bDelBookmrk( sal_False ), bInDisconnect( sal_False )
{
// we only end up here with table- or text selection
const int nSelection = rSh.GetSelectionType();
if( nsSelectionType::SEL_TBL_CELLS & nSelection )
if( nsSelectionType::SEL_TBL_CELLS & rSh.GetSelectionType() )
{
SwFrmFmt* pFmt = rSh.GetTableFmt();
if( pFmt )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment