diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-15 14:03:01 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-16 21:20:08 +0100 |
commit | f958657cc5a179a2bccff06f88cd36f80b779184 (patch) | |
tree | e5d9eda71d9a2add0c1576ca36a1d5d2b778446a /desktop | |
parent | bacafe9a07cb2af737b99641efc9cddf55340837 (diff) |
gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/migration/services/jvmfwk.cxx | 2 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_app.cxx | 8 | ||||
-rw-r--r-- | desktop/unx/splash/unxsplash.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx index 31aef9fa58f0..f7022ce1e2ec 100644 --- a/desktop/source/migration/services/jvmfwk.cxx +++ b/desktop/source/migration/services/jvmfwk.cxx @@ -327,7 +327,7 @@ void JavaMigration::migrateJavarc() return; OUString sValue; - rtl::Bootstrap javaini(m_sUserDir + OUSTR("/user/config/"SAL_CONFIGFILE("java"))); + rtl::Bootstrap javaini(m_sUserDir + OUSTR( "/user/config/" SAL_CONFIGFILE("java") )); sal_Bool bSuccess = javaini.getFrom(OUSTR("Home"), sValue); OSL_ENSURE(bSuccess, "[Service implementation " IMPL_NAME "] XJob::execute: Could not get Home entry from java.ini/javarc."); diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx index 9194ae89c91b..fa2c4d0ff5d1 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx @@ -271,7 +271,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main() return 0; } else if (isOption( info_version, &nPos )) { - dp_misc::writeConsole("\n"APP_NAME" Version 3.3\n"); + dp_misc::writeConsole("\n" APP_NAME " Version 3.3\n"); return 0; } //consume all bootstrap variables which may occur before the subcommannd @@ -651,7 +651,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main() } if (option_verbose) - dp_misc::writeConsole(OUSTR("\n"APP_NAME" done.\n")); + dp_misc::writeConsole(OUSTR("\n" APP_NAME " done.\n")); //Force to release all bridges which connect us to the child processes disposeBridges(xLocalComponentContext); return 0; @@ -663,7 +663,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main() } catch (const ucb::CommandAbortedException &) { - dp_misc::writeConsoleError("\n"APP_NAME" aborted!\n"); + dp_misc::writeConsoleError("\n" APP_NAME " aborted!\n"); } catch (const deployment::DeploymentException & exc) { @@ -701,7 +701,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main() OUSTR("\n")); } if (!bNoOtherErrorMsg) - dp_misc::writeConsoleError("\n"APP_NAME" failed.\n"); + dp_misc::writeConsoleError("\n" APP_NAME " failed.\n"); disposeBridges(xLocalComponentContext); return 1; } diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx index c2beeffc6891..bda01857a2e6 100644 --- a/desktop/unx/splash/unxsplash.cxx +++ b/desktop/unx/splash/unxsplash.cxx @@ -108,7 +108,7 @@ void SAL_CALL UnxSplashScreen::setValue( sal_Int32 nValue ) { if ( m_pOutFd ) { - fprintf( m_pOutFd, "%"SAL_PRIdINT32"%%\n", nValue ); + fprintf( m_pOutFd, "%" SAL_PRIdINT32 "%%\n", nValue ); fflush( m_pOutFd ); } } |