summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 10:02:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 11:24:39 +0200
commit17bf458c86a9130cc56fad035f81558fd91ed974 (patch)
tree03bf5206ae74595a0d8262f4fa8ce7081c3c3e43 /svx
parent24e71494d7d1a68b2cb5f5d34083ab02009e0982 (diff)
inline SdrModel::ImpCtor
since it is only called from one spot Change-Id: Ib94bc364c57ed0d36dc99f56f026cd44f27258ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115123 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx24
1 files changed, 8 insertions, 16 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index e200899ee1a8..d60789ba3569 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -87,10 +87,17 @@ struct SdrModelImpl
};
-void SdrModel::ImpCtor(
+SdrModel::SdrModel(
SfxItemPool* pPool,
::comphelper::IEmbeddedHelper* _pEmbeddedHelper,
bool bDisablePropertyFiles)
+:
+#ifdef DBG_UTIL
+ // SdrObjectLifetimeWatchDog:
+ maAllIncarnatedObjects(),
+#endif
+ maMaPag(),
+ maPages()
{
mpImpl.reset(new SdrModelImpl);
mpImpl->mpUndoManager=nullptr;
@@ -189,21 +196,6 @@ void SdrModel::ImpCtor(
ImpCreateTables(bDisablePropertyFiles || utl::ConfigManager::IsFuzzing());
}
-SdrModel::SdrModel(
- SfxItemPool* pPool,
- ::comphelper::IEmbeddedHelper* pPers,
- bool bDisablePropertyFiles)
-:
-#ifdef DBG_UTIL
- // SdrObjectLifetimeWatchDog:
- maAllIncarnatedObjects(),
-#endif
- maMaPag(),
- maPages()
-{
- ImpCtor(pPool,pPers,bDisablePropertyFiles);
-}
-
SdrModel::~SdrModel()
{