summaryrefslogtreecommitdiff
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
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>
-rw-r--r--cui/source/dialogs/insdlg.cxx1
-rw-r--r--sfx2/source/doc/iframe.cxx3
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index a20a282ae513..8e3532aa84f9 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -462,7 +462,6 @@ short SfxInsertFloatingFrameDialog::execute()
m_xRBFrameBorderOff->set_active(!bSet);
}
-//TODO SetUpdateMode( true );
bOK = true;
}
catch ( uno::Exception& )
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;