diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-11 15:38:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-12 08:07:06 +0100 |
commit | 07e8957decf34c903a0415d5e583709fd2f15226 (patch) | |
tree | 44481b6901d659cb2c7d6c47e2c89d87536b52ab /sd | |
parent | 1a1b0c91715b3fe3ec2988afab4e5bc40ada67c0 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/TemplateScanner.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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)); } |