unotools/source/config/bootstrap.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit f2d535b9f5478144047434cf97701eb505143b46 Author: Stephan Bergmann <[email protected]> Date: Tue Mar 12 10:28:21 2013 +0100 Keep concatenating adjacent string literals via juxtaposition instead of + Change-Id: I098a8d657ed5ac1976013e1ee370ef76ed2242db diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index a37f6ae..505cf24 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -38,9 +38,6 @@ // #define this to a non-zero value, if remembering defaults is not supported properly #define RTL_BOOTSTRAP_DEFAULTS_BROKEN 1 -// --------------------------------------------------------------------------------------- -#define BOOTSTRAP_DATA_NAME SAL_CONFIGFILE("bootstrap") - #define BOOTSTRAP_ITEM_PRODUCT_KEY "ProductKey" #define BOOTSTRAP_ITEM_VERSIONFILE "Location" #define BOOTSTRAP_ITEM_BUILDID "buildid" @@ -76,7 +73,7 @@ namespace utl { OUString uri; rtl::Bootstrap::get( OUString("BRAND_BASE_DIR"), uri); - return uri + "/program/" + BOOTSTRAP_DATA_NAME; + return uri + "/program/" SAL_CONFIGFILE("bootstrap"); } } @@ -789,7 +786,7 @@ sal_Bool Bootstrap::Impl::getVersionValue(OUString const& _sName, OUString& _rVa // try to open version.ini (versionrc) OUString uri; rtl::Bootstrap::get( OUString("BRAND_BASE_DIR"), uri); - rtl::Bootstrap aData( uri + "/program/" + SAL_CONFIGFILE("version") ); + rtl::Bootstrap aData( uri + "/program/" SAL_CONFIGFILE("version") ); if ( aData.getHandle() == NULL ) // version.ini (versionrc) doesn't exist return sal_False; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
