diff options
Diffstat (limited to 'sw/source/uibase/misc/glosdoc.cxx')
-rw-r--r-- | sw/source/uibase/misc/glosdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 30365661e9be..c0286c30dfe8 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -373,7 +373,7 @@ void SwGlossaries::UpdateGlosPath(bool bFull) INetURLObject(), m_aPath.getToken(0, SVT_SEARCHPATH_DELIMITER, nIndex), URIHelper::GetMaybeFileHdl()); - if (aDirArr.size() && + if (!aDirArr.empty() && std::find(aDirArr.begin(), aDirArr.end(), sPth) != aDirArr.end()) { continue; |