[Libreoffice-commits] .: dbaccess/source toolkit/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Oct 27 15:16:28 PDT 2011
dbaccess/source/ui/tabledesign/TEditControl.cxx | 2 +-
toolkit/source/layout/core/import.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9764427b6914232078d882f15a650f1cb939fe4d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Oct 28 00:15:06 2011 +0200
Remove some parenthesis for readability
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 7032c98..bbbb8a3 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -495,7 +495,7 @@ void OTableEditorCtrl::InitController(CellControllerRef&, long nRow, sal_uInt16
EditBrowseBox::RowStatus OTableEditorCtrl::GetRowStatus(long nRow) const
{
DBG_CHKTHIS(OTableEditorCtrl,NULL);
- (const_cast<OTableEditorCtrl*>(this))->SetDataPtr( nRow );
+ const_cast<OTableEditorCtrl*>(this)->SetDataPtr( nRow );
if( !pActRow )
return EditBrowseBox::CLEAN;
if (nRow >= 0 && nRow == m_nDataPos)
diff --git a/toolkit/source/layout/core/import.cxx b/toolkit/source/layout/core/import.cxx
index fdc90de..86d65a6 100644
--- a/toolkit/source/layout/core/import.cxx
+++ b/toolkit/source/layout/core/import.cxx
@@ -77,7 +77,7 @@ SAL_THROW (())
//DEBUG
uno::Reference< awt::XLayoutConstrains > xParent;
if ( pParent )
- xParent = (static_cast<WidgetElement *>(pParent))->mpWidget->getPeer();
+ xParent = static_cast<WidgetElement *>(pParent)->mpWidget->getPeer();
mpWidget = pImport->mrRoot.create( aId, name,
More information about the Libreoffice-commits
mailing list