summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-01-30 19:09:35 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:56 -0400
commitda695330ee333d3210fd6ff236294684e27c5f82 (patch)
tree300b5da7ad08d4d94eea8b1b618a6f7e5969e7e4 /filter
parentb41c9ce2aaaf7ef38071298c7427f6b0905a9bd9 (diff)
unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit 1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d)
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/filterfactory.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 9d3eed8a5d75..5d7974caeeee 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -285,11 +285,11 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
pIt = lTokens.find(QUERY_PARAM_IFLAGS);
if (pIt != lTokens.end())
- nIFlags = OUString(pIt->second).toInt32();
+ nIFlags = pIt->second.toInt32();
pIt = lTokens.find(QUERY_PARAM_EFLAGS);
if (pIt != lTokens.end())
- nEFlags = OUString(pIt->second).toInt32();
+ nEFlags = pIt->second.toInt32();
// SAFE -> ----------------------
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -419,10 +419,10 @@ OUStringList FilterFactory::impl_getSortedFilterList(const QueryTokenizer& lToke
sModule = pIt1->second;
pIt1 = lTokens.find(QUERY_PARAM_IFLAGS);
if (pIt1 != lTokens.end())
- nIFlags = OUString(pIt1->second).toInt32();
+ nIFlags = pIt1->second.toInt32();
pIt1 = lTokens.find(QUERY_PARAM_EFLAGS);
if (pIt1 != lTokens.end())
- nEFlags = OUString(pIt1->second).toInt32();
+ nEFlags = pIt1->second.toInt32();
// simple search for filters of one specific module.
OUStringList lFilterList;