[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Sep 11 07:32:40 PDT 2014
vcl/source/gdi/impimagetree.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 8cf6ba8a28f2c22817e94185121190f082c75754
Author: Chris Sherlock <chris.sherlock79 at 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)
{
More information about the Libreoffice-commits
mailing list