summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r--sw/source/core/unocore/unoredline.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx
index de92d788f393..ffe3050cf031 100644
--- a/sw/source/core/unocore/unoredline.cxx
+++ b/sw/source/core/unocore/unoredline.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -190,15 +190,15 @@ uno::Type SwXRedlineText::getElementType( ) throw(uno::RuntimeException)
sal_Bool SwXRedlineText::hasElements( ) throw(uno::RuntimeException)
{
- return sal_True; // we always have a content index
+ return sal_True; // we always have a content index
}
-SwXRedlinePortion::SwXRedlinePortion( const SwRedline* pRed,
+SwXRedlinePortion::SwXRedlinePortion( const SwRedline* pRed,
const SwUnoCrsr* pPortionCrsr,
uno::Reference< text::XText > xParent, BOOL bStart) :
SwXTextPortion(pPortionCrsr, xParent, bStart ? PORTION_REDLINE_START : PORTION_REDLINE_END),
-// SwXText(pPortionCrsr->GetDoc(), CURSOR_REDLINE),
-// SwXRedlineText(pPortionCrsr->GetDoc(), *pRed->GetContentIdx()),
+// SwXText(pPortionCrsr->GetDoc(), CURSOR_REDLINE),
+// SwXRedlineText(pPortionCrsr->GetDoc(), *pRed->GetContentIdx()),
pRedline(pRed)
{
SetCollapsed(!pRedline->HasMark());
@@ -213,8 +213,8 @@ static util::DateTime lcl_DateTimeToUno(const DateTime& rDT)
util::DateTime aRetDT;
aRetDT.Year = rDT.GetYear();
aRetDT.Month= rDT.GetMonth();
- aRetDT.Day = rDT.GetDay();
- aRetDT.Hours = rDT.GetHour();
+ aRetDT.Day = rDT.GetDay();
+ aRetDT.Hours = rDT.GetHour();
aRetDT.Minutes = rDT.GetMin();
aRetDT.Seconds = rDT.GetSec();
aRetDT.HundredthSeconds = rDT.Get100Sec();
@@ -445,9 +445,9 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_DATE_TIME)))
{
DBG_ERROR("currently not available");
-// util::DateTime aDT;
-// if(aValue >>= aDT)
-// pRedline->SetTimeStamp(lcl_DateTimeFromUno(aDT));
+// util::DateTime aDT;
+// if(aValue >>= aDT)
+// pRedline->SetTimeStamp(lcl_DateTimeFromUno(aDT));
}
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_COMMENT)))
{
@@ -460,12 +460,12 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
OUString sTmp; aValue >>= sTmp;
if(!sTmp.getLength())
throw lang::IllegalArgumentException();
-// pRedline->SetType(lcl_OUStringToRedlineType(sTmp));
+// pRedline->SetType(lcl_OUStringToRedlineType(sTmp));
}
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_SUCCESSOR_DATA)))
{
DBG_ERROR("currently not available");
-/* SwRedlineData* pNext = pRedline->GetRedlineData().Next();
+/* SwRedlineData* pNext = pRedline->GetRedlineData().Next();
uno::Sequence<beans::PropertyValue> aValues;
if(!(aValue =>> aValues) || !pNext)
throw lang::IllegalArgumentException();
@@ -494,7 +494,7 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
pNext->SetType(lcl_OUStringToRedlineType(sTmp);
}
}
-*/ }
+*/ }
else
{
throw lang::IllegalArgumentException();
@@ -643,7 +643,7 @@ uno::Reference< text::XTextCursor > SwXRedline::createTextCursor(void) throw( u
if(!pDoc)
throw uno::RuntimeException();
- uno::Reference< text::XTextCursor > xRet;
+ uno::Reference< text::XTextCursor > xRet;
SwNodeIndex* pNodeIndex = pRedline->GetContentIdx();
if(pNodeIndex)
{