Kaydet (Commit) 4dc74852 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:returnconstant in ScContentTree

Change-Id: Ib3aab99712e40f0b5482f87aaf37d228a72f3684
Reviewed-on: https://gerrit.libreoffice.org/59132
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 01caa0ff
......@@ -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);
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment