Kaydet (Commit) 36aafefc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#43157: Fix format string violations in OSL_TRACE etc. (Mac OS X)

Change-Id: Iab8c97560a9c46638d3943c2e129ddcf2e9db603
üst 0b8439f0
......@@ -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);
......
......@@ -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 ));
......
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment