diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-11 18:50:38 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-12 00:27:58 +1000 |
commit | 8cf6ba8a28f2c22817e94185121190f082c75754 (patch) | |
tree | b5ec7c95ff8f2ec0eeee4bc33e69dfa2ce32831f | |
parent | Resolves: fdo#82552 we only check pAlphaW on one branch (diff) | |
download | core-8cf6ba8a28f2c22817e94185121190f082c75754.tar.gz core-8cf6ba8a28f2c22817e94185121190f082c75754.zip |
minor whitespace change
Change-Id: I556a68a2da770080e475a4e6619722fd721101ca
-rw-r--r-- | vcl/source/gdi/impimagetree.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx index 9ba36dfea7b9..e81bafe54269 100644 --- a/vcl/source/gdi/impimagetree.cxx +++ b/vcl/source/gdi/impimagetree.cxx @@ -158,11 +158,12 @@ bool ImplImageTree::doLoadImage( } std::vector< OUString > paths; paths.push_back(getRealImageName(name)); + if (localized) { sal_Int32 pos = name.lastIndexOf('/'); if (pos != -1) { // find() uses a reverse iterator, so push in reverse order. - std::vector< OUString > aFallbacks( Application::GetSettings().GetUILanguageTag().getFallbackStrings( true)); + std::vector< OUString > aFallbacks( Application::GetSettings().GetUILanguageTag().getFallbackStrings(true)); for (std::vector< OUString >::reverse_iterator it( aFallbacks.rbegin()); it != aFallbacks.rend(); ++it) { |