diff options
author | Steve Yin <steve_y@apache.org> | 2013-11-26 14:25:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-26 15:27:17 +0000 |
commit | c23ab5eaed57cc3fb5860e26c591c73c5b22687b (patch) | |
tree | 7a918b328e80763fa334f59c789cff399f207541 /include/editeng/unoedhlp.hxx | |
parent | 62fcdfa34aa302aa9051e90e75b94eb442fa1db7 (diff) |
Integrate branch of IAccessible2
WaE: Reorder initializations to prevent compiler warnings.
(cherry picked from commit c05431aa92fa2c7c7258418a6ecd651b5c26d982)
WaE: unname unused variable to prevent compiler warnings.
(cherry picked from commit 2259256a390c4b6f83cfb5dbe4a65df5032aee47)
Conflicts:
editeng/source/accessibility/AccessibleEditableTextPara.cxx
ad61537527a74670af266feb9e4d26d2d654daf7
66044902b8d94fc15d4c30270e6cc419fb7d3565
Change-Id: I3ec9798f2c7d854824722c0cf44b62128b4f4cb4
Diffstat (limited to 'include/editeng/unoedhlp.hxx')
-rw-r--r-- | include/editeng/unoedhlp.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx index 699ce727a55f..8f70e2fc11a6 100644 --- a/include/editeng/unoedhlp.hxx +++ b/include/editeng/unoedhlp.hxx @@ -53,7 +53,15 @@ public: sal_Int32 GetStartValue() const; sal_Int32 GetEndValue() const; }; - +class SvxEditSourceHintEndPara :public SvxEditSourceHint +{ +public: + TYPEINFO(); + SvxEditSourceHintEndPara( sal_uInt32 nId ) + :SvxEditSourceHint(nId) {} + SvxEditSourceHintEndPara( sal_uInt32 nId, sal_uInt32 nValue, sal_uInt32 nStart=0, sal_uInt32 nEnd=0 ) + :SvxEditSourceHint(nId,nValue,nStart){ (void)nEnd; } +}; /** Helper class for common functionality in edit sources */ class EDITENG_DLLPUBLIC SvxEditSourceHelper @@ -92,7 +100,7 @@ public: @return sal_True, if the range has been successfully determined */ - static sal_Bool GetAttributeRun( sal_uInt16& nStartIndex, sal_uInt16& nEndIndex, const EditEngine& rEE, sal_Int32 nPara, sal_uInt16 nIndex ); + static sal_Bool GetAttributeRun( sal_uInt16& nStartIndex, sal_uInt16& nEndIndex, const EditEngine& rEE, sal_Int32 nPara, sal_uInt16 nIndex, sal_Bool bInCell = sal_False); /** Convert point from edit engine to user coordinate space |