/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "sal/config.h" #include "com/sun/star/uno/Reference.hxx" #include "com/sun/star/uno/Sequence.hxx" #include "com/sun/star/uno/XComponentContext.hpp" #include "com/sun/star/uno/XInterface.hpp" #include "osl/mutex.hxx" #include "rtl/ustring.h" #include "rtl/ustring.hxx" #include "configurationprovider.hxx" #include "defaultprovider.hxx" #include "lock.hxx" namespace configmgr { namespace default_provider { css::uno::Reference< css::uno::XInterface > create( css::uno::Reference< css::uno::XComponentContext > const & context) { osl::MutexGuard guard(*lock()); static css::uno::Reference< css::uno::XInterface > singleton( configuration_provider::createDefault(context)); return singleton; } OUString getImplementationName() { return OUString("com.sun.star.comp.configuration.DefaultProvider"); } css::uno::Sequence< OUString > getSupportedServiceNames() { OUString name("com.sun.star.configuration.DefaultProvider"); return css::uno::Sequence< OUString >(&name, 1); } } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 3.7% overall (up to 85.8% per file). Galaxy: Saved 10.7KB out of 2MB. 0.5% per file on average (up to 56%). Hicontrast: A few bytes. Human: Saved 288KB out of 1.8MB. 15.8% overall (up to 81.1% per file). Industrial: Saved 22.3KB out of 1.1MB. 1.9% overall (up to 88.7% per file). Oxygen: Saved 177.8KB out of 2MB. 9% overall (up to 95.3% per file). Sifr: Saved 41.2KB out of 315.8KB. 13% overall (up to 63.4% per file). Tango: Saved 130.8KB out of 1MB. 13.1% overall (up to 86.4% per file). Tango_testing: Saved 110.3KB out of 546.7KB. 20.2% overall (up to 86.4% per file). Change-Id: Id43faba59fa738cd2cde60df61c16d8cf2e06daf Signed-off-by: Andrew <dent.ace@gmail.com>
Lossless PNG optimisation for all Icon Themes.
Icons were run through ImageOptim 1.5.4 (https://imageoptim.com/). Total saving ~839KB.

Breeze: Saved 13.9KB out of 29.1KB. 47.5% per file on average (up to 54.5%).
Crystal: Saved 44KB out of 1.2MB. 3.7% overall (up to 85.8% per file).
Galaxy: Saved 10.7KB out of 2MB. 0.5% per file on average (up to 56%).
Hicontrast: A few bytes.
Human: Saved 288KB out of 1.8MB. 15.8% overall (up to 81.1% per file).
Industrial: Saved 22.3KB out of 1.1MB. 1.9% overall (up to 88.7% per file).
Oxygen: Saved 177.8KB out of 2MB. 9% overall (up to 95.3% per file).
Sifr: Saved 41.2KB out of 315.8KB. 13% overall (up to 63.4% per file).
Tango: Saved 130.8KB out of 1MB. 13.1% overall (up to 86.4% per file).
Tango_testing: Saved 110.3KB out of 546.7KB. 20.2% overall (up to 86.4% per file).

Change-Id: Id43faba59fa738cd2cde60df61c16d8cf2e06daf
Signed-off-by: Andrew <dent.ace@gmail.com>
icons: optipng the oxygen icons. 2014-11-23T11:22:04+00:00 Jan Holesovsky kendy@collabora.com 2014-11-23T11:22:04+00:00 e2c1596b01be0611ae6d4d17f9c630c0e5f6b265 Change-Id: I61d9b29334ec08d5f4fcb36d906212e5140cb5ee
Change-Id: I61d9b29334ec08d5f4fcb36d906212e5140cb5ee