From c3bdf60484298e1a42b5df28c2f2bc0c603510c4 Mon Sep 17 00:00:00 2001 From: Pelin Kuran Date: Thu, 30 Jan 2020 12:08:52 +0300 Subject: tdf#90834: Turn in-line version control comments into good comments Change-Id: I366badf234f00536cd208a516eff9667f99d2f86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87719 Tested-by: Jenkins Reviewed-by: Michael Stahl --- svx/source/unodraw/unopool.cxx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'svx') diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index 4f0742bdce41..5b064ac6fe71 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -119,7 +119,6 @@ void SvxUnoDrawPool::getAny( SfxItemPool const * pPool, const comphelper::Proper if( eMapUnit == MapUnit::Map100thMM ) nMemberId &= (~CONVERT_TWIPS); - // DVO, OD 10.10.2003 #i18732# // Assure, that ID is a Which-ID (it could be a Slot-ID.) // Thus, convert handle to Which-ID. pPool->GetDefaultItem( pPool->GetWhich( static_cast(pEntry->mnHandle) ) ).QueryValue( rValue, nMemberId ); @@ -153,7 +152,6 @@ void SvxUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEn SvxUnoConvertFromMM( eMapUnit, aValue ); } - // DVO, OD 10.10.2003 #i18732# // Assure, that ID is a Which-ID (it could be a Slot-ID.) // Thus, convert handle to Which-ID. const sal_uInt16 nWhich = pPool->GetWhich( static_cast(pEntry->mnHandle) ); @@ -231,8 +229,7 @@ void SvxUnoDrawPool::_getPropertyStates( const comphelper::PropertyMapEntry** pp { while( *ppEntries ) { - // OD 13.10.2003 #i18732# - // Assure, that ID is a Which-ID (it could be a Slot-ID.) + //Assure, that ID is a Which-ID (it could be a Slot-ID.) // Thus, convert handle to Which-ID. const sal_uInt16 nWhich = pPool->GetWhich( static_cast((*ppEntries)->mnHandle) ); @@ -254,7 +251,7 @@ void SvxUnoDrawPool::_getPropertyStates( const comphelper::PropertyMapEntry** pp } break; default: - // OD 13.10.2003 #i18732# - correction: + //#i18732# - correction: // use method instead of using probably // incompatible item pool . const SfxPoolItem& r1 = pPool->GetDefaultItem( nWhich ); @@ -289,14 +286,12 @@ void SvxUnoDrawPool::_setPropertyToDefault( const comphelper::PropertyMapEntry* SfxItemPool* pPool = getModelPool( true ); - // OD 10.10.2003 #i18732# // Assure, that ID is a Which-ID (it could be a Slot-ID.) // Thus, convert handle to Which-ID. const sal_uInt16 nWhich = pPool->GetWhich( static_cast(pEntry->mnHandle) ); if ( pPool && pPool != mpDefaultsPool ) { - // OD 13.10.2003 #i18732# - use method - // instead of using probably incompatible item pool . + // use method instead of using probably incompatible item pool . pPool->ResetPoolDefaultItem( nWhich ); } } @@ -304,8 +299,7 @@ void SvxUnoDrawPool::_setPropertyToDefault( const comphelper::PropertyMapEntry* uno::Any SvxUnoDrawPool::_getPropertyDefault( const comphelper::PropertyMapEntry* pEntry ) { SolarMutexGuard aGuard; - - // OD 13.10.2003 #i18732# - use method instead of + //#i18732# - use method instead of // using probably incompatible item pool uno::Any aAny; SfxItemPool* pPool = getModelPool( true ); -- cgit