diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-02 14:37:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-03 05:25:41 +0000 |
commit | c625525ddcc5bd1ceb1be95031da6047280d623c (patch) | |
tree | f3469c6d418dadd723d4b91b8166015b3f6442b9 /xmloff/source/text | |
parent | 4a0fc2fb026ee46f7ef8e75135e2ae9b411ae134 (diff) |
rename SvRef::AddRef to AddFirstRef
to make it's intended purpose clearly distinguishable from AddNextRef
Change-Id: I5da780b48b19fd873667b648031bc394113f953b
Reviewed-on: https://gerrit.libreoffice.org/11763
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLTextColumnsContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtparaimphint.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtstyli.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx index badf922dbd7f..986b84f71119 100644 --- a/xmloff/source/text/XMLTextColumnsContext.cxx +++ b/xmloff/source/text/XMLTextColumnsContext.cxx @@ -352,7 +352,7 @@ SvXMLImportContext *XMLTextColumnsContext::CreateChildContext( pColumns = new XMLTextColumnsArray_Impl; pColumns->push_back( pColumn ); - pColumn->AddRef(); + pColumn->AddFirstRef(); pContext = pColumn; } @@ -362,7 +362,7 @@ SvXMLImportContext *XMLTextColumnsContext::CreateChildContext( pColumnSep = new XMLTextColumnSepContext_Impl( GetImport(), nPrefix, rLocalName, xAttrList, *pColumnSepAttrTokenMap ); - pColumnSep->AddRef(); + pColumnSep->AddFirstRef(); pContext = pColumnSep; } diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx index 8c7d8d1c237c..de1074866b39 100644 --- a/xmloff/source/text/txtparaimphint.hxx +++ b/xmloff/source/text/txtparaimphint.hxx @@ -149,7 +149,7 @@ public: { pEvents = pCtxt; if (pEvents != NULL) - pEvents->AddRef(); + pEvents->AddFirstRef(); } }; diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index af0fba42c9fa..5167c6b0b9a1 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -193,7 +193,7 @@ SvXMLImportContext *XMLTextStyleContext::CreateChildContext( // (for delayed processing of events) pEventContext = new XMLEventsImportContext( GetImport(), nPrefix, rLocalName); - pEventContext->AddRef(); + pEventContext->AddFirstRef(); pContext = pEventContext; } |