summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-04 14:44:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-04 21:53:10 +0200
commitb8cc75068544857cdcf06d10d1667dabb7faabad (patch)
tree23292395f9170a1ca71080fd07077e790f5ae73f /sfx2
parent803a3539975059d2fde5b0eab3e0850ba155368a (diff)
drop mysterious bare SetUpdateMode call
Change-Id: I9ab52107e87c7154a50ed5ae89bd89c354e25b51 Reviewed-on: https://gerrit.libreoffice.org/52387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/iframe.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index ccc726dbc865..fced99a75c0b 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -393,7 +393,8 @@ void SAL_CALL IFrameObject::removeVetoableChangeListener(const OUString&, const
::sal_Int16 SAL_CALL IFrameObject::execute()
{
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
- ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateEditObjectDialog(nullptr, ".uno:InsertObjectFloatingFrame", mxObj)); //TODO
+ //we really should set a parent here
+ ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateEditObjectDialog(nullptr, ".uno:InsertObjectFloatingFrame", mxObj));
if ( pDlg )
pDlg->Execute();
return 0;