summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-11-12 09:51:46 +0100
committerJan Holesovsky <kendy@collabora.com>2015-11-12 09:54:46 +0100
commitf92c53f96dda175c971278a141a72dfd0e978466 (patch)
tree0744194393626b06b51d904ae09d7d01321ed9e1 /sw/source/core/unocore
parenteb95283d98fffb031070338ca0d9a966fcf98c07 (diff)
bin/rename-sw-abbreviations.sh run to fix few re-introduced abbrvtns.
Change-Id: I11d282c3be86feb57f5279220d84d8a121df0dbd
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unochart.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index a97ba36b7f45..f4d317c7dd32 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -366,7 +366,7 @@ static void GetTableByName( const SwDoc &rDoc, const OUString &rTableName,
static void GetFormatAndCreateCursorFromRangeRep(
const SwDoc *pDoc,
const OUString &rRangeRepresentation, // must be a single range (i.e. so called sub-range)
- SwFrameFormat **ppTblFmt, // will be set to the table format of the table used in the range representation
+ SwFrameFormat **ppTableFormat, // will be set to the table format of the table used in the range representation
std::shared_ptr<SwUnoCrsr>& rpUnoCrsr ) // will be set to cursor spanning the cell range (cursor will be created!)
{
OUString aTableName; // table name
@@ -377,8 +377,8 @@ static void GetFormatAndCreateCursorFromRangeRep(
if (!bNamesFound)
{
- if (ppTblFmt)
- *ppTblFmt = nullptr;
+ if (ppTableFormat)
+ *ppTableFormat = nullptr;
rpUnoCrsr.reset();
}
else
@@ -386,12 +386,12 @@ static void GetFormatAndCreateCursorFromRangeRep(
SwFrameFormat *pTableFormat = nullptr;
// is the correct table format already provided?
- if (*ppTblFmt != nullptr && (*ppTblFmt)->GetName() == aTableName)
- pTableFormat = *ppTblFmt;
+ if (*ppTableFormat != nullptr && (*ppTableFormat)->GetName() == aTableName)
+ pTableFormat = *ppTableFormat;
else
GetTableByName( *pDoc, aTableName, &pTableFormat, nullptr );
- *ppTblFmt = pTableFormat;
+ *ppTableFormat = pTableFormat;
rpUnoCrsr.reset(); // default result in case of failure