summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredlines.cxx
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-05-20 13:05:49 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-05-20 13:05:49 +0200
commitab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch)
tree36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/core/unocore/unoredlines.cxx
parent0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff)
bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/core/unocore/unoredlines.cxx')
-rw-r--r--sw/source/core/unocore/unoredlines.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/unocore/unoredlines.cxx b/sw/source/core/unocore/unoredlines.cxx
index c536fd34e2a7..fab95a23cc27 100644
--- a/sw/source/core/unocore/unoredlines.cxx
+++ b/sw/source/core/unocore/unoredlines.cxx
@@ -50,8 +50,8 @@ sal_Int32 SwXRedlines::getCount( ) throw(uno::RuntimeException, std::exception)
SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
- const SwRedlineTbl& rRedTbl = GetDoc()->getIDocumentRedlineAccess().GetRedlineTbl();
- return rRedTbl.size();
+ const SwRedlineTable& rRedTable = GetDoc()->getIDocumentRedlineAccess().GetRedlineTable();
+ return rRedTable.size();
}
uno::Any SwXRedlines::getByIndex(sal_Int32 nIndex)
@@ -60,11 +60,11 @@ uno::Any SwXRedlines::getByIndex(sal_Int32 nIndex)
SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
- const SwRedlineTbl& rRedTbl = GetDoc()->getIDocumentRedlineAccess().GetRedlineTbl();
+ const SwRedlineTable& rRedTable = GetDoc()->getIDocumentRedlineAccess().GetRedlineTable();
uno::Any aRet;
- if ((rRedTbl.size() > static_cast<size_t>(nIndex)) && (nIndex >= 0))
+ if ((rRedTable.size() > static_cast<size_t>(nIndex)) && (nIndex >= 0))
{
- uno::Reference <beans::XPropertySet> xRet = SwXRedlines::GetObject( *rRedTbl[nIndex], *GetDoc() );
+ uno::Reference <beans::XPropertySet> xRet = SwXRedlines::GetObject( *rRedTable[nIndex], *GetDoc() );
aRet <<= xRet;
}
else
@@ -91,8 +91,8 @@ sal_Bool SwXRedlines::hasElements( ) throw(uno::RuntimeException, std::exceptio
SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
- const SwRedlineTbl& rRedTbl = GetDoc()->getIDocumentRedlineAccess().GetRedlineTbl();
- return rRedTbl.size() > 0;
+ const SwRedlineTable& rRedTable = GetDoc()->getIDocumentRedlineAccess().GetRedlineTable();
+ return rRedTable.size() > 0;
}
OUString SwXRedlines::getImplementationName() throw( uno::RuntimeException, std::exception )
@@ -144,7 +144,7 @@ sal_Bool SwXRedlineEnumeration::hasMoreElements() throw( uno::RuntimeException,
{
if(!pDoc)
throw uno::RuntimeException();
- return pDoc->getIDocumentRedlineAccess().GetRedlineTbl().size() > nCurrentIndex;
+ return pDoc->getIDocumentRedlineAccess().GetRedlineTable().size() > nCurrentIndex;
}
uno::Any SwXRedlineEnumeration::nextElement()
@@ -152,10 +152,10 @@ uno::Any SwXRedlineEnumeration::nextElement()
{
if(!pDoc)
throw uno::RuntimeException();
- const SwRedlineTbl& rRedTbl = pDoc->getIDocumentRedlineAccess().GetRedlineTbl();
- if( rRedTbl.size() <= nCurrentIndex )
+ const SwRedlineTable& rRedTable = pDoc->getIDocumentRedlineAccess().GetRedlineTable();
+ if( rRedTable.size() <= nCurrentIndex )
throw container::NoSuchElementException();
- uno::Reference <beans::XPropertySet> xRet = SwXRedlines::GetObject( *rRedTbl[nCurrentIndex++], *pDoc );
+ uno::Reference <beans::XPropertySet> xRet = SwXRedlines::GetObject( *rRedTable[nCurrentIndex++], *pDoc );
uno::Any aRet;
aRet <<= xRet;
return aRet;