diff options
author | Pelin Kuran <pelinrkuran@gmail.com> | 2020-01-30 12:08:52 +0300 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-02-10 11:19:39 +0100 |
commit | c3bdf60484298e1a42b5df28c2f2bc0c603510c4 (patch) | |
tree | 6bf4a4c9def434979d555d9853c07adb04210b8f /svx | |
parent | f363ca0c0b949b60b8bb2dd43025082e4609c3f0 (diff) |
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 <michael.stahl@cib.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unopool.cxx | 14 |
1 files changed, 4 insertions, 10 deletions
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<sal_uInt16>(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<sal_uInt16>(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<sal_uInt16>((*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 <IsStaticDefaultItem(..)> instead of using probably // incompatible item pool <mpDefaultPool>. 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<sal_uInt16>(pEntry->mnHandle) ); if ( pPool && pPool != mpDefaultsPool ) { - // OD 13.10.2003 #i18732# - use method <ResetPoolDefaultItem(..)> - // instead of using probably incompatible item pool <mpDefaultsPool>. + // use method <ResetPoolDefaultItem(..)> instead of using probably incompatible item pool <mpDefaultsPool>. 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 <GetPoolDefaultItem(..)> instead of + //#i18732# - use method <GetPoolDefaultItem(..)> instead of // using probably incompatible item pool <mpDefaultsPool> uno::Any aAny; SfxItemPool* pPool = getModelPool( true ); |