summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-26 17:45:00 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-26 18:02:15 +0200
commit612fc199c3884b48770740acf8b441f3506b47e1 (patch)
treefbf12614029a309eced1d15fce1c1d30c3bf51ff /vcl/android
parent0c2de3df0982b0c77987c640a9af38d310325a55 (diff)
Include the separate tag argument in the __android_log_print() calls
It's the *third* argument that is the printf-style format string.
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index d8ba0b050c47..82356033e48b 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -363,7 +363,7 @@ void SalAbort( const rtl::OUString& rErrorText, bool bDumpCore )
aError = rtl::OUString::createFromAscii("Unknown application error");
::fprintf( stderr, "%s\n", rtl::OUStringToOString(rErrorText, osl_getThreadTextEncoding()).getStr() );
- __android_log_print(ANDROID_LOG_INFO, "SalAbort: '%s'",
+ __android_log_print(ANDROID_LOG_INFO, "LibreOffice", "SalAbort: '%s'",
rtl::OUStringToOString(aError, RTL_TEXTENCODING_ASCII_US).getStr());
if( bDumpCore )
abort();
@@ -414,7 +414,7 @@ int AndroidSalSystem::ShowNativeDialog( const rtl::OUString& rTitle,
fprintf (stderr, "LibreOffice native dialog '%s': '%s'\n",
rtl::OUStringToOString(rTitle, RTL_TEXTENCODING_ASCII_US).getStr(),
rtl::OUStringToOString(rMessage, RTL_TEXTENCODING_ASCII_US).getStr());
- __android_log_print(ANDROID_LOG_INFO, "LibreOffice - dialog '%s': '%s'",
+ __android_log_print(ANDROID_LOG_INFO, "LibreOffice", "Dialog '%s': '%s'",
rtl::OUStringToOString(rTitle, RTL_TEXTENCODING_ASCII_US).getStr(),
rtl::OUStringToOString(rMessage, RTL_TEXTENCODING_ASCII_US).getStr());