summaryrefslogtreecommitdiff
path: root/svtools/source/java
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-10-09 18:56:58 +0200
committerMathias Bauer <mba@openoffice.org>2010-10-09 18:56:58 +0200
commitb41d62671ea124872aaec7be9c4bfd5b1d87904a (patch)
tree02571673fc42797bcab7300bb222b9e2eae33912 /svtools/source/java
parent3645e96db1ef4aa0e781337b9c478ebf60369890 (diff)
parent525de6f8eeac6e357167467da0f9a9448433bb25 (diff)
CWS changehid: resync to m89
Diffstat (limited to 'svtools/source/java')
-rw-r--r--svtools/source/java/javainteractionhandler.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/java/javainteractionhandler.cxx b/svtools/source/java/javainteractionhandler.cxx
index 499d2c1f502c..a7420dbc388f 100644
--- a/svtools/source/java/javainteractionhandler.cxx
+++ b/svtools/source/java/javainteractionhandler.cxx
@@ -147,8 +147,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque
// No suitable JRE found
vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_bJavaNotFound_Handled = true;
- WarningBox aWarningBox( NULL, SvtResId(WARNINGBOX_JAVANOTFOUND));
- String aTitle = String( SvtResId( STR_WARNING_JAVANOTFOUND ));
+ WarningBox aWarningBox( NULL, SvtResId( WARNINGBOX_JAVANOTFOUND ) );
+ String aTitle( SvtResId( STR_WARNING_JAVANOTFOUND ) );
aWarningBox.SetText( aTitle );
nResult = aWarningBox.Execute();
}
@@ -164,8 +164,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque
// javavendors.xml was updated and Java has not been configured yet
vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_bInvalidSettings_Handled = true;
- WarningBox aWarningBox( NULL, SvtResId(WARNINGBOX_INVALIDJAVASETTINGS));
- String aTitle = String( SvtResId(STR_WARNING_INVALIDJAVASETTINGS));
+ WarningBox aWarningBox( NULL, SvtResId( WARNINGBOX_INVALIDJAVASETTINGS ) );
+ String aTitle( SvtResId(STR_WARNING_INVALIDJAVASETTINGS));
aWarningBox.SetText( aTitle );
nResult = aWarningBox.Execute();
}
@@ -181,8 +181,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque
vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_bJavaDisabled_Handled = true;
// Java disabled. Give user a chance to enable Java inside Office.
- QueryBox aQueryBox(NULL, SvtResId( QBX_JAVADISABLED ));
- String aTitle = String( SvtResId( STR_QUESTION_JAVADISABLED ));
+ QueryBox aQueryBox( NULL, SvtResId( QBX_JAVADISABLED ) );
+ String aTitle( SvtResId( STR_QUESTION_JAVADISABLED ) );
aQueryBox.SetText( aTitle );
nResult = aQueryBox.Execute();
if ( nResult == RET_YES )
@@ -205,8 +205,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque
// Java not correctly installed, or damaged
vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_bVMCreationFailure_Handled = true;
- ErrorBox aErrorBox( NULL, SvtResId(ERRORBOX_JVMCREATIONFAILED));
- String aTitle = String( SvtResId(STR_ERROR_JVMCREATIONFAILED));
+ ErrorBox aErrorBox( NULL, SvtResId( ERRORBOX_JVMCREATIONFAILED ) );
+ String aTitle( SvtResId( STR_ERROR_JVMCREATIONFAILED ) );
aErrorBox.SetText( aTitle );
nResult = aErrorBox.Execute();
}
@@ -223,8 +223,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque
//before it can be used.
vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_bRestartRequired_Handled = true;
- ErrorBox aErrorBox(NULL, SvtResId(ERRORBOX_RESTARTREQUIRED));
- String aTitle = String( SvtResId(STR_ERROR_RESTARTREQUIRED));
+ ErrorBox aErrorBox(NULL, SvtResId( ERRORBOX_RESTARTREQUIRED ) );
+ String aTitle( SvtResId( STR_ERROR_RESTARTREQUIRED ) );
aErrorBox.SetText( aTitle );
nResult = aErrorBox.Execute();
}