summaryrefslogtreecommitdiff
path: root/desktop/source/migration
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-01 15:45:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-01 15:45:52 +0200
commite50ef195bc95f3f410119f623928382cb88b45d2 (patch)
tree0897c005806c84d7e2add9f4a2d407ff4fe911a5 /desktop/source/migration
parent363e39d63621b6c7017854ca5bb2f7668bb35846 (diff)
New loplugin:stringconcat
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
Diffstat (limited to 'desktop/source/migration')
-rw-r--r--desktop/source/migration/services/jvmfwk.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx
index 25a36260c713..888bb5ef875d 100644
--- a/desktop/source/migration/services/jvmfwk.cxx
+++ b/desktop/source/migration/services/jvmfwk.cxx
@@ -302,7 +302,7 @@ void JavaMigration::migrateJavarc()
return;
OUString sValue;
- rtl::Bootstrap javaini(m_sUserDir + "/user/config/" + SAL_CONFIGFILE("java"));
+ rtl::Bootstrap javaini(m_sUserDir + "/user/config/" SAL_CONFIGFILE("java"));
bool bSuccess = javaini.getFrom("Home", sValue);
OSL_ENSURE(bSuccess, "[Service implementation " IMPL_NAME
"] XJob::execute: Could not get Home entry from java.ini/javarc.");
@@ -415,11 +415,11 @@ void SAL_CALL JavaMigration::setPropertyValue(
bool val;
if (!(aValue >>= val))
throw MalformedDataException(
- OUString("[Service implementation ") + IMPL_NAME +
+ "[Service implementation " IMPL_NAME
"] XLayerHandler::setPropertyValue received wrong type for Enable property", 0, Any());
if (jfw_setEnabled(val) != JFW_E_NONE)
throw WrappedTargetException(
- OUString("[Service implementation ") + IMPL_NAME +
+ "[Service implementation " IMPL_NAME
"] XLayerHandler::setPropertyValue: jfw_setEnabled failed.", 0, Any());
break;
@@ -429,12 +429,12 @@ void SAL_CALL JavaMigration::setPropertyValue(
OUString cp;
if (!(aValue >>= cp))
throw MalformedDataException(
- OUString("[Service implementation ") + IMPL_NAME +
+ "[Service implementation " IMPL_NAME
"] XLayerHandler::setPropertyValue received wrong type for UserClassPath property", 0, Any());
if (jfw_setUserClassPath(cp.pData) != JFW_E_NONE)
throw WrappedTargetException(
- OUString("[Service implementation ") + IMPL_NAME +
+ "[Service implementation " IMPL_NAME
"] XLayerHandler::setPropertyValue: jfw_setUserClassPath failed.", 0, Any());
break;
}