summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-14 09:23:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-14 09:25:15 +0100
commit36aafefc064cf5d5df51b7ca7bcc7e2256cefd69 (patch)
tree204446827bea445636d892b1511ca6a97c806ea9
parent0b8439f0595a5b539476fa211efd8e5faca8bf0a (diff)
tdf#43157: Fix format string violations in OSL_TRACE etc. (Mac OS X)
Change-Id: Iab8c97560a9c46638d3943c2e129ddcf2e9db603
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.mm2
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.mm2
-rw-r--r--fpicker/source/aqua/SalAquaPicker.mm2
3 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm
index 11e5ee6c1bb2..1e0a658603ed 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.mm
+++ b/fpicker/source/aqua/SalAquaFilePicker.mm
@@ -333,7 +333,7 @@ uno::Sequence<rtl::OUString> SAL_CALL SalAquaFilePicker::getFiles() throw( uno::
}
long nFiles = [files count];
- OSL_TRACE("# of items: %d", nFiles);
+ SAL_INFO("fpicker.aqua", "# of items: " << nFiles);
uno::Sequence< rtl::OUString > aSelectedFiles(nFiles > 1 ? nFiles + 1 : nFiles);
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.mm b/fpicker/source/aqua/SalAquaFolderPicker.mm
index 76cdb5336569..a597913641fe 100644
--- a/fpicker/source/aqua/SalAquaFolderPicker.mm
+++ b/fpicker/source/aqua/SalAquaFolderPicker.mm
@@ -178,7 +178,7 @@ rtl::OUString SAL_CALL SalAquaFolderPicker::getDirectory() throw( uno::RuntimeEx
}
long nFiles = [files count];
- OSL_TRACE("# of items: %d", nFiles);
+ SAL_INFO("fpicker.aqua", "# of items: " << nFiles);
if (nFiles < 1) {
throw uno::RuntimeException("no directory selected", static_cast< cppu::OWeakObject * >( this ));
diff --git a/fpicker/source/aqua/SalAquaPicker.mm b/fpicker/source/aqua/SalAquaPicker.mm
index 6fd4023272fe..e45a37e24f49 100644
--- a/fpicker/source/aqua/SalAquaPicker.mm
+++ b/fpicker/source/aqua/SalAquaPicker.mm
@@ -169,7 +169,7 @@ int SalAquaPicker::run()
NSString *temp = [NSString stringWithOUString:m_sDisplayDirectory];
startDirectory = [NSURL URLWithString:temp];
- OSL_TRACE("start dir: %s", [startDirectory path]);
+ SAL_INFO("fpicker.aqua", "start dir: " << [startDirectory path]);
}
else {
startDirectory = [NSURL fileURLWithPath:NSHomeDirectory() isDirectory:YES];