From 07e8957decf34c903a0415d5e583709fd2f15226 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 Nov 2020 15:38:35 +0100 Subject: Drop some unused function parameter ...that is apparently unused ever since the code's introduction in c6f950665971100ff2e51cf7e05d30141e8e89e1 "INTEGRATION: CWS taskpane" Change-Id: Ie80eb9ad710fe2653b79015aa5c18e619944340f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105600 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sd/source/ui/dlg/TemplateScanner.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx index 96fe84698d0f..f125afacc280 100644 --- a/sd/source/ui/dlg/TemplateScanner.cxx +++ b/sd/source/ui/dlg/TemplateScanner.cxx @@ -65,7 +65,7 @@ public: /** Use a heuristic based on the URL of a top-level template folder to assign a priority that is used to sort the folders. */ -int Classify (const OUString&, const OUString& rsURL) +int Classify (const OUString& rsURL) { int nPriority (0); @@ -248,13 +248,12 @@ TemplateScanner::State TemplateScanner::GatherFolderList() Reference xRow (mxFolderResultSet, UNO_QUERY); if (xRow.is()) { - OUString sTitle (xRow->getString (1)); OUString sTargetDir (xRow->getString (2)); OUString aId = xContentAccess->queryContentIdentifierString(); mpFolderDescriptors->insert( FolderDescriptor( - Classify(sTitle,sTargetDir), + Classify(sTargetDir), aId, mxFolderEnvironment)); } -- cgit