vcl/source/gdi/impimagetree.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8cf6ba8a28f2c22817e94185121190f082c75754 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Thu Sep 11 18:50:38 2014 +1000 minor whitespace change Change-Id: I556a68a2da770080e475a4e6619722fd721101ca diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx index 9ba36df..e81bafe 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits