[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Feb 2 15:36:20 UTC 2019
sc/source/ui/unoobj/dapiuno.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit fe8d62dc89b5de2a720b30a64a1a6a7e7d47344f
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Sat Feb 2 02:01:05 2019 +0000
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Sat Feb 2 16:35:57 2019 +0100
Remove obsolete TODO comments
The comments were introduced with commit 87ec4dbf4ad505c9e908db59144a6d41ecd89b5c,
but didn't have any further explanations.
Change-Id: I4519037361f3f4c961e4455a766917c1a061288f
Reviewed-on: https://gerrit.libreoffice.org/67271
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index e9bc8db1be47..ca1ddda16cc8 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -1629,7 +1629,6 @@ static bool lcl_GetFieldDataByName( ScDPObject* pDPObj, const OUString& rFieldNa
ScDataPilotFieldObj* ScDataPilotFieldsObj::GetObjectByIndex_Impl( sal_Int32 nIndex ) const
{
-// TODO
if (ScDPObject* pObj = GetDPObject())
{
ScFieldIdentifier aFieldId;
@@ -1663,7 +1662,6 @@ Reference<XEnumeration> SAL_CALL ScDataPilotFieldsObj::createEnumeration()
sal_Int32 SAL_CALL ScDataPilotFieldsObj::getCount()
{
SolarMutexGuard aGuard;
-// TODO
ScDPObject* pDPObj = GetDPObject();
return pDPObj ? lcl_GetFieldCount( pDPObj->GetSource(), maOrient ) : 0;
}
@@ -1705,7 +1703,6 @@ Any SAL_CALL ScDataPilotFieldsObj::getByName( const OUString& aName )
Sequence<OUString> SAL_CALL ScDataPilotFieldsObj::getElementNames()
{
SolarMutexGuard aGuard;
-// TODO
if (ScDPObject* pDPObj = GetDPObject())
{
Sequence< OUString > aSeq( lcl_GetFieldCount( pDPObj->GetSource(), maOrient ) );
More information about the Libreoffice-commits
mailing list