diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 15:26:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-10 09:15:32 +0200 |
commit | 8b9f0a5a5cba5051d90c693ded950c40cfa7ee12 (patch) | |
tree | a21fd8626491ae99c06fcee57ffe32504ce5c9ca /sc/source/ui/docshell/docsh.cxx | |
parent | d2b5ded9ae14c372ec08ecb697092a103ad3f182 (diff) |
loplugin:checkunusedparams in sc(part1)
Change-Id: I8c4fca704fe8ed6f861728cc3f3782c676aba67c
Reviewed-on: https://gerrit.libreoffice.org/37435
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index fec3e7f473bf..c00d5ef1ff31 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -322,7 +322,7 @@ void ScDocShell::AfterXMLLoading(bool bRet) !aINetURLObject.HasError()) // the docname should be a valid URL { aName = ScGlobal::GetDocTabName( aDocument.GetLinkDoc( i ), aDocument.GetLinkTab( i ) ); - aDocument.RenameTab(i, aName, true, true); + aDocument.RenameTab(i, aName, true/*bExternalDocument*/); } // else; nothing has to happen, because it is a user given name } @@ -1236,7 +1236,7 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium ) // corresponding places of the external references // manager/cache. Likely then we'd also need a method to // compose a name excluding such characters. - aDocument.RenameTab( 0, INetURLObject( rMedium.GetName()).GetBase(), true, true); + aDocument.RenameTab( 0, INetURLObject( rMedium.GetName()).GetBase(), true/*bExternalDocument*/); bOverflowRow = aImpEx.IsOverflowRow(); bOverflowCol = aImpEx.IsOverflowCol(); |