diff options
author | Adam Co <rattles2013@gmail.com> | 2014-01-13 17:58:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-01-13 16:40:46 +0000 |
commit | 4a68f12691d4fd77652d824ccb4147e8ce643182 (patch) | |
tree | c27b37a5013d61441e3548fbbc6fac3f6158953b /sw/source/core/unocore/unoredline.cxx | |
parent | dbd42432c7b8f8149080bb13b103b35f2532eee8 (diff) |
Renamed 'SwRedline' to 'SwRangeRedline'
This is in preparation to adding more types of 'SwRedlines'.
Change-Id: Id61217ed3c4622f7689427ea9f30e364f6bb65d1
Reviewed-on: https://gerrit.libreoffice.org/7410
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index d5439d8ae28c..b0d78f28491e 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -181,7 +181,7 @@ sal_Bool SwXRedlineText::hasElements( ) throw(uno::RuntimeException) return sal_True; // we always have a content index } -SwXRedlinePortion::SwXRedlinePortion(SwRedline const& rRedline, +SwXRedlinePortion::SwXRedlinePortion(SwRangeRedline const& rRedline, SwUnoCrsr const*const pPortionCrsr, uno::Reference< text::XText > const& xParent, bool const bStart) : SwXTextPortion(pPortionCrsr, xParent, @@ -222,7 +222,7 @@ static OUString lcl_RedlineTypeToOUString(RedlineType_t eType) return sRet; } -static uno::Sequence<beans::PropertyValue> lcl_GetSuccessorProperties(const SwRedline& rRedline) +static uno::Sequence<beans::PropertyValue> lcl_GetSuccessorProperties(const SwRangeRedline& rRedline) { uno::Sequence<beans::PropertyValue> aValues(4); @@ -301,7 +301,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwXRedlinePortion::getImplementationId( ) th return theSwXRedlinePortionImplementationId::get().getSeq(); } -uno::Any SwXRedlinePortion::GetPropertyValue( const OUString& rPropertyName, const SwRedline& rRedline ) throw() +uno::Any SwXRedlinePortion::GetPropertyValue( const OUString& rPropertyName, const SwRangeRedline& rRedline ) throw() { uno::Any aRet; if(rPropertyName == UNO_NAME_REDLINE_AUTHOR) @@ -342,7 +342,7 @@ uno::Any SwXRedlinePortion::GetPropertyValue( const OUString& rPropertyName, co } uno::Sequence< beans::PropertyValue > SwXRedlinePortion::CreateRedlineProperties( - const SwRedline& rRedline, sal_Bool bIsStart ) throw() + const SwRangeRedline& rRedline, sal_Bool bIsStart ) throw() { uno::Sequence< beans::PropertyValue > aRet(11); const SwRedlineData* pNext = rRedline.GetRedlineData().Next(); @@ -396,7 +396,7 @@ uno::Sequence< beans::PropertyValue > SwXRedlinePortion::CreateRedlineProperties } TYPEINIT1(SwXRedline, SwClient); -SwXRedline::SwXRedline(SwRedline& rRedline, SwDoc& rDoc) : +SwXRedline::SwXRedline(SwRangeRedline& rRedline, SwDoc& rDoc) : SwXText(&rDoc, CURSOR_REDLINE), pDoc(&rDoc), pRedline(&rRedline) |