Kaydet (Commit) ab706f99 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove duplicate createHex

üst c8352a6c
......@@ -43,26 +43,6 @@
namespace rtl_cipher
{
rtl::OString createHex(sal_uInt8 *_pKeyBuffer, sal_uInt32 _nKeyLen)
{
// Create hex-value string from the value to keep the string size minimal
rtl::OStringBuffer aBuffer( _nKeyLen * 2 + 1 );
for ( sal_uInt32 i = 0; i < _nKeyLen; i++ )
{
sal_Int32 nValue = (sal_Int32)_pKeyBuffer[i];
if (nValue < 16) // maximul hex value for 1 byte
{
sal_Int32 nil = sal_Int32(0);
aBuffer.append( nil, 16 /* radix */ );
}
aBuffer.append( nValue, 16 /* radix */ );
}
return aBuffer.makeStringAndClear();
}
// -----------------------------------------------------------------------------
class create : public CppUnit::TestFixture
{
public:
......
......@@ -1831,7 +1831,6 @@ pyuno::importToGlobal(_object*, _object*, _object*)
rptui::OFieldExpressionControl::LinkStubAsynchActivate(void*, void*)
rptui::OFieldExpressionControl::LinkStubAsynchDeactivate(void*, void*)
rptui::OReportController::LinkStubOnInvalidateClipboard(void*, void*)
rtl_cipher::createHex(unsigned char*, unsigned int)
salhelper::ORealDynamicLoader::acquire()
salhelper::ORealDynamicLoader::getApi() const
salhelper::ORealDynamicLoader::newInstance(salhelper::ORealDynamicLoader**, rtl::OUString const&, rtl::OUString const&)
......@@ -1971,4 +1970,4 @@ vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const&)
vcl::PDFWriter::DrawPixel(Polygon const&, Color const*)
vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const&, int, bool)
vcl::unx::GtkPrintWrapper::print_operation_set_has_selection(_GtkPrintOperation*, int) const
vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const
\ No newline at end of file
vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const
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