diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 10:14:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:26:08 +0000 |
commit | 2e5ec4f5b6cf295c64598c4284f01814d218c489 (patch) | |
tree | 703704f70f86cc24bdc043ff8d16570bb3cb2f59 /editeng/qa | |
parent | ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (diff) |
Related: #i17171# big xub_Strlen -> sal_Int32 changes
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
Diffstat (limited to 'editeng/qa')
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 053e6476912e..27b910eeb11f 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -234,35 +234,35 @@ public: private: OUString & m_rText; LanguageType m_eLang; - virtual sal_Bool Delete( xub_StrLen nStt, xub_StrLen nEnd ) + virtual sal_Bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) { //fprintf(stderr, "TestAutoCorrDoc::Delete\n"); m_rText = m_rText.replaceAt(nStt, nEnd-nStt, ""); return true; } - virtual sal_Bool Insert( xub_StrLen nPos, const OUString& rTxt ) + virtual sal_Bool Insert( sal_Int32 nPos, const OUString& rTxt ) { //fprintf(stderr, "TestAutoCorrDoc::Insert\n"); m_rText = m_rText.replaceAt(nPos, 0, rTxt); return true; } - virtual sal_Bool Replace( xub_StrLen nPos, const OUString& rTxt ) + virtual sal_Bool Replace( sal_Int32 nPos, const OUString& rTxt ) { //fprintf(stderr, "TestAutoCorrDoc::Replace\n"); return ReplaceRange( nPos, rTxt.getLength(), rTxt ); } - virtual sal_Bool ReplaceRange( xub_StrLen nPos, xub_StrLen nLen, const OUString& rTxt ) + virtual sal_Bool ReplaceRange( sal_Int32 nPos, sal_Int32 nLen, const OUString& rTxt ) { //fprintf(stderr, "TestAutoCorrDoc::ReplaceRange %d %d %s\n", nPos, nLen, OUStringToOString(rTxt, RTL_TEXTENCODING_UTF8).getStr()); m_rText = m_rText.replaceAt(nPos, nLen, rTxt); return true; } - virtual sal_Bool SetAttr( xub_StrLen, xub_StrLen, sal_uInt16, SfxPoolItem& ) + virtual sal_Bool SetAttr( sal_Int32, sal_Int32, sal_uInt16, SfxPoolItem& ) { //fprintf(stderr, "TestAutoCorrDoc::SetAttr\n"); return true; } - virtual sal_Bool SetINetAttr( xub_StrLen, xub_StrLen, const OUString& ) + virtual sal_Bool SetINetAttr( sal_Int32, sal_Int32, const OUString& ) { //fprintf(stderr, "TestAutoCorrDoc::SetINetAttr\n"); return true; |