diff options
Diffstat (limited to 'sw/source/core/draw/dobjfac.cxx')
-rw-r--r-- | sw/source/core/draw/dobjfac.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/draw/dobjfac.cxx b/sw/source/core/draw/dobjfac.cxx index e3587646202d..e11e375aa30b 100644 --- a/sw/source/core/draw/dobjfac.cxx +++ b/sw/source/core/draw/dobjfac.cxx @@ -31,7 +31,7 @@ IMPL_STATIC_LINK( // No switch, there's only one at the moment OSL_ENSURE( aParams.nObjIdentifier == SwFlyDrawObjIdentifier, "Wrong inventor or identifier" ); - return new SwFlyDrawObj; + return new SwFlyDrawObj(aParams.rSdrModel); } return nullptr; } |