diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-31 00:35:26 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-06-09 12:54:08 +0200 |
commit | fc87cdbd7b490b1bdc87bda3d48579052fd45726 (patch) | |
tree | e8cdca04fe15a4926b28de35a368fa3232e1a224 /sw/source/core/unocore/unoobj.cxx | |
parent | e20d0ad2e816a64d7f97980be2d54f5f80be986b (diff) |
use ABC instead of Pimpl for SwXParagraphEnumeration
- abstract base class reduces boilerplate
- Pimpl is pointless here, except for SolarMutex, which is handled by
overriding release
Change-Id: I191dc0fecd25937f41fd724355e88c04da89db61
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 726e3c9213fe..8b4a73753d38 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -3030,7 +3030,7 @@ SwXTextCursor::createEnumeration() throw (uno::RuntimeException, std::exception) : 0); SwTable const*const pTable( (pStartNode) ? & pStartNode->GetTable() : 0 ); - return new SwXParagraphEnumeration(pParentText, pNewCrsr, eSetType, pStartNode, pTable); + return SwXParagraphEnumeration::Create(pParentText, pNewCrsr, eSetType, pStartNode, pTable); } uno::Type SAL_CALL |