On 02/10/2012 11:30 AM, Lubos Lunak wrote:
diff --git a/sal/inc/osl/module.hxx b/sal/inc/osl/module.hxx
index c8d39a2..a7f9c35 100644
--- a/sal/inc/osl/module.hxx
+++ b/sal/inc/osl/module.hxx
@@ -152,11 +152,28 @@ public:
return ( osl_getFunctionSymbol( m_Module, ustrFunctionSymbolName.pData
) );
}
+ /**
+ * @overload
+ * @since LibreOffice 3.6
+ */
+ oslGenericFunction SAL_CALL getFunctionSymbol( const ::rtl::OUString&
ustrFunctionSymbolName ) const
+ {
+ return ( osl_getFunctionSymbol( m_Module, ustrFunctionSymbolName.pData
) );
+ }
+
/// @since LibreOffice 3.5
oslGenericFunction SAL_CALL getFunctionSymbol(char const * name) const {
return osl_getAsciiFunctionSymbol(m_Module, name);
}
+ /**
+ * @overload
+ * @since LibreOffice 3.6
+ */
+ oslGenericFunction SAL_CALL getFunctionSymbol(char const * name) {
+ return osl_getAsciiFunctionSymbol(m_Module, name);
+ }
+
operator oslModule() const
{
return m_Module;
I guess its fine to just add the missing "const" to the existing
OUString const & overload---or would that bring back the ambiguity?
Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice