summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 08:22:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 14:46:53 +0200
commit04112bce506c60254cb1cb8536f942c8adb5c7d6 (patch)
tree43b63df6f5b5eeb89abe70094b415ddfed152a9a /fpicker
parentloplugin:sequentialassign in editeng..extensions (diff)
downloadcore-04112bce506c60254cb1cb8536f942c8adb5c7d6.tar.gz
core-04112bce506c60254cb1cb8536f942c8adb5c7d6.zip
loplugin:sequentialassign in filter..fpicker
Change-Id: I4ba0e1e982897bd570612f6cda8ba1e6a9fa5dbd Reviewed-on: https://gerrit.libreoffice.org/70700 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 7f561b56059f..8382977e9a37 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2235,13 +2235,11 @@ bool SvtFileDialog::IsolateFilterFromPath_Impl( OUString& rPath, OUString& rFilt
}
// cut off filter
- rFilter = aReversePath;
- rFilter = rFilter.copy( 0, nPathTokenPos );
+ rFilter = aReversePath.copy( 0, nPathTokenPos );
rFilter = comphelper::string::reverseString(rFilter);
// determine folder
- rPath = aReversePath;
- rPath = rPath.copy( nPathTokenPos );
+ rPath = aReversePath.copy( nPathTokenPos );
rPath = comphelper::string::reverseString(rPath);
}
else