[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Jan 25 02:35:12 PST 2011
sw/source/core/access/accselectionhelper.cxx | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
New commits:
commit d80becc720ae2254f6668fdebdea60410a7a084e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jan 25 10:18:38 2011 +0000
WaE: gcc 4.6.0 various warnings
diff --git a/sw/source/core/access/accselectionhelper.cxx b/sw/source/core/access/accselectionhelper.cxx
index acb2bcd..2d15ee7 100644
--- a/sw/source/core/access/accselectionhelper.cxx
+++ b/sw/source/core/access/accselectionhelper.cxx
@@ -107,19 +107,14 @@ void SwAccessibleSelectionHelper::selectAccessibleChild(
// we can only select fly frames, so we ignore (should: return
// false) all other attempts at child selection
- sal_Bool bRet = sal_False;
SwFEShell* pFEShell = GetFEShell();
if( pFEShell != NULL )
{
const SdrObject *pObj = aChild.GetDrawObject();
if( pObj )
- {
- bRet = rContext.Select( const_cast< SdrObject *>( pObj ), 0==aChild.GetSwFrm());
- }
+ rContext.Select( const_cast< SdrObject *>( pObj ), 0==aChild.GetSwFrm());
}
// no frame shell, or no frame, or no fly frame -> can't select
-
- // return bRet;
}
sal_Bool SwAccessibleSelectionHelper::isAccessibleChildSelected(
More information about the Libreoffice-commits
mailing list