diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/misc2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/misc2.cxx b/linguistic/source/misc2.cxx index 782d190e7a1f..f416a1739fd1 100644 --- a/linguistic/source/misc2.cxx +++ b/linguistic/source/misc2.cxx @@ -137,7 +137,7 @@ OUString GetDictionaryWriteablePath() std::vector< OUString > aPaths( GetMultiPaths_Impl( "Dictionary", DictionaryPathFlags::NONE ) ); DBG_ASSERT( aPaths.size() == 1, "Dictionary_writable path corrupted?" ); OUString aRes; - if (aPaths.size() > 0) + if (!aPaths.empty()) aRes = aPaths[0]; return aRes; } |