[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 24 19:33:08 UTC 2019
sw/source/core/frmedt/fefly1.cxx | 2 +-
sw/source/core/frmedt/feshview.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fd40f94e6bfcd8df200a30c933e4d09d1b99e897
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 24 11:54:59 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 24 21:31:11 2019 +0200
cid#1401334 Uncaught exception
Change-Id: I371610e76e513a40da800eb11de0883775fdbd2d
Reviewed-on: https://gerrit.libreoffice.org/76255
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index f81fb14a647c..bd6b66a5dabe 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -592,7 +592,7 @@ Point SwFEShell::FindAnchorPos( const Point& rAbsPos, bool bMoveIt )
// re-created. Thus, delete all fly frames except the <this> before the
// anchor attribute is change and re-create them afterwards.
{
- std::unique_ptr<SwHandleAnchorNodeChg> pHandleAnchorNodeChg;
+ std::unique_ptr<SwHandleAnchorNodeChg, o3tl::default_delete<SwHandleAnchorNodeChg>> pHandleAnchorNodeChg;
SwFlyFrameFormat* pFlyFrameFormat( dynamic_cast<SwFlyFrameFormat*>(&rFormat) );
if ( pFlyFrameFormat )
{
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 136a5fbfe385..736b10235109 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -576,7 +576,7 @@ bool SwFEShell::MoveAnchor( SwMove nDir )
// re-created. Thus, delete all fly frames except the <this> before the
// anchor attribute is change and re-create them afterwards.
{
- std::unique_ptr<SwHandleAnchorNodeChg> pHandleAnchorNodeChg;
+ std::unique_ptr<SwHandleAnchorNodeChg, o3tl::default_delete<SwHandleAnchorNodeChg>> pHandleAnchorNodeChg;
SwFlyFrameFormat* pFlyFrameFormat( dynamic_cast<SwFlyFrameFormat*>(&rFormat) );
if ( pFlyFrameFormat )
{
More information about the Libreoffice-commits
mailing list