summaryrefslogtreecommitdiff
path: root/stoc/source/security/access_controller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-09 15:48:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-11 18:56:16 +0000
commit4ef9ccea6c4aa79cdc57dea52b47775c346696ec (patch)
treead3b4dd30484436c595990bd8994f94477b9492b /stoc/source/security/access_controller.cxx
parent4282ea67c2e90222f141df8213b06dfed09d4c85 (diff)
OSL_TRACE -> SAL in sfx2..svx
Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc/source/security/access_controller.cxx')
-rw-r--r--stoc/source/security/access_controller.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 246ea6fb3573..1bc162ab703a 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -488,16 +488,14 @@ static void dumpPermissions(
{
buf.append( "> dumping default permissions:" );
}
- OString str( OUStringToOString( buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( "%s", str.getStr() );
+ SAL_INFO("stoc", buf.makeStringAndClear() );
Sequence< OUString > permissions( collection.toStrings() );
OUString const * p = permissions.getConstArray();
for ( sal_Int32 nPos = 0; nPos < permissions.getLength(); ++nPos )
{
- OString str( OUStringToOString( p[ nPos ], RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( "%s", str.getStr() );
+ SAL_INFO("stoc", p[ nPos ] );
}
- OSL_TRACE( "> permission dump done" );
+ SAL_INFO("stoc", "> permission dump done" );
}
#endif
@@ -632,7 +630,7 @@ PermissionCollection AccessController::getEffectivePermissions(
buf.append( "\"" );
OString str(
OUStringToOString( buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( "%s", str.getStr() );
+ SAL_INFO("stoc",( "%s", str.getStr() );
#endif
return PermissionCollection( new AllPermission() );
}