sd/source/ui/dlg/TemplateScanner.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 07e8957decf34c903a0415d5e583709fd2f15226 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Nov 11 15:38:35 2020 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Nov 12 08:07:06 2020 +0100 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 <[email protected]> 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<sdbc::XRow> 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)); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
