sc/source/ui/inc/content.hxx | 2 +- sc/source/ui/navipi/content.cxx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 4dc748525c5280b821ee07fbb82ac42147352d31 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Aug 15 13:42:29 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Aug 16 08:56:26 2018 +0200 loplugin:returnconstant in ScContentTree Change-Id: Ib3aab99712e40f0b5482f87aaf37d228a72f3684 Reviewed-on: https://gerrit.libreoffice.org/59132 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx index 17f83be89d94..7aad4b005442 100644 --- a/sc/source/ui/inc/content.hxx +++ b/sc/source/ui/inc/content.hxx @@ -139,7 +139,7 @@ public: void ActiveDocChanged(); void ResetManualDoc(); void SetManualDoc(const OUString& rName); - bool LoadFile(const OUString& rUrl); + void LoadFile(const OUString& rUrl); void SelectDoc(const OUString& rName); void SelectEntryByName(const ScContentId nRoot, const OUString& rName); diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 9d811e341c50..f06dc527471b 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -1462,7 +1462,7 @@ IMPL_LINK_NOARG(ScContentTree, ExecDragHdl, void*, void) DoDrag(); } -bool ScContentTree::LoadFile( const OUString& rUrl ) +void ScContentTree::LoadFile( const OUString& rUrl ) { OUString aDocName = rUrl; sal_Int32 nPos = aDocName.indexOf('#'); @@ -1487,8 +1487,6 @@ bool ScContentTree::LoadFile( const OUString& rUrl ) } // document is closed again by ScDocumentLoader in dtor - - return false; } void ScContentTree::InitWindowBits( bool bButtons ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits