View | Details | Raw Unified | Return to issue 25589
Collapse All | Expand All

(-)ooo_1.1.0_src.orig/unotools/inc/unotools/transliterationwrapper.hxx (-2 / +2 lines)
Lines 138-149 Link Here
138
        string is returned.  */
138
        string is returned.  */
139
	String transliterate( const String& rStr,
139
	String transliterate( const String& rStr,
140
						xub_StrLen nStart, xub_StrLen nLen,
140
						xub_StrLen nStart, xub_StrLen nLen,
141
						::com::sun::star::uno::Sequence <long>* pOffset ) const;
141
						::com::sun::star::uno::Sequence <sal_Int32>* pOffset ) const;
142
142
143
	// Wrapper implementations of class Transliteration
143
	// Wrapper implementations of class Transliteration
144
	String transliterate( const String& rStr, sal_uInt16 nLanguage,
144
	String transliterate( const String& rStr, sal_uInt16 nLanguage,
145
						xub_StrLen nStart, xub_StrLen nLen,
145
						xub_StrLen nStart, xub_StrLen nLen,
146
						::com::sun::star::uno::Sequence <long>* pOffset );
146
						::com::sun::star::uno::Sequence <sal_Int32>* pOffset );
147
147
148
    /** If two strings are equal per this transliteration.
148
    /** If two strings are equal per this transliteration.
149
        Returns the number of matched code points in any case, even if strings
149
        Returns the number of matched code points in any case, even if strings
(-)ooo_1.1.0_src.orig/unotools/source/i18n/transliterationwrapper.cxx (-2 / +2 lines)
Lines 140-146 Link Here
140
String TransliterationWrapper::transliterate(
140
String TransliterationWrapper::transliterate(
141
								const String& rStr, sal_uInt16 nLang,
141
								const String& rStr, sal_uInt16 nLang,
142
								xub_StrLen nStart, xub_StrLen nLen,
142
								xub_StrLen nStart, xub_StrLen nLen,
143
								Sequence <long>* pOffset )
143
								Sequence <sal_Int32>* pOffset )
144
{
144
{
145
	String sRet;
145
	String sRet;
146
	if( xTrans.is() )
146
	if( xTrans.is() )
Lines 166-172 Link Here
166
String TransliterationWrapper::transliterate(
166
String TransliterationWrapper::transliterate(
167
								const String& rStr,
167
								const String& rStr,
168
								xub_StrLen nStart, xub_StrLen nLen,
168
								xub_StrLen nStart, xub_StrLen nLen,
169
								Sequence <long>* pOffset ) const
169
								Sequence <sal_Int32>* pOffset ) const
170
{
170
{
171
	String sRet( rStr );
171
	String sRet( rStr );
172
	if( xTrans.is() )
172
	if( xTrans.is() )
(-)ooo_1.1.0_src.orig/unotools/source/streaming/streamhelper.cxx (-1 / +1 lines)
Lines 193-199 Link Here
193
	if (!m_xLockBytes.Is())
193
	if (!m_xLockBytes.Is())
194
		throw stario::NotConnectedException(::rtl::OUString(), static_cast<staruno::XWeak*>(this));
194
		throw stario::NotConnectedException(::rtl::OUString(), static_cast<staruno::XWeak*>(this));
195
195
196
	ULONG nWritten;
196
	sal_uInt32 nWritten;
197
	ErrCode nError = m_xLockBytes->WriteAt( m_nActPos, aData.getConstArray(), aData.getLength(), &nWritten );
197
	ErrCode nError = m_xLockBytes->WriteAt( m_nActPos, aData.getConstArray(), aData.getLength(), &nWritten );
198
	m_nActPos += nWritten;
198
	m_nActPos += nWritten;
199
199

Return to issue 25589