https://bugs.freedesktop.org/show_bug.cgi?id=49602
Bug #: 49602
Summary: Remove deprecated sal/inc/osl/profile.hxx
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: [email protected]
ReportedBy: [email protected]
Seems the only user of it is sal/rtl/source/bootstrap.cxx
it could easily be replaced with something like:
oslProfile profile = osl_openProfile(strProfileName.pData, Options);
if( ! profile )
throw std::exception();
sal_Char aBuf[1024];
rtl::OString ret= osl_readProfileString( profile, rSection.getStr(),
rEntry.getStr(), aBuf, sizeof( aBuf ), rDefault.getStr() ) ? rtl::OString( aBuf
) : rtl::OString();
osl_closeProfile(profile);
return ret;
and then deleted from codebase.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs