summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx8
-rw-r--r--sd/source/ui/view/Outliner.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 632ddd64485d..5273e9f63b5a 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -1290,13 +1290,13 @@ OUString HtmlExport::ParagraphToHTMLString( SdrOutliner* pOutliner, sal_Int32 nP
return OUString();
HtmlState aState( (mbUserAttr || mbDocColors) ? maTextColor : Color(COL_BLACK) );
- std::vector<sal_uInt16> aPortionList;
+ std::vector<sal_Int32> aPortionList;
rEditEngine.GetPortions( nPara, aPortionList );
- sal_uInt16 nPos1 = 0;
- for( std::vector<sal_uInt16>::const_iterator it( aPortionList.begin() ); it != aPortionList.end(); ++it )
+ sal_Int32 nPos1 = 0;
+ for( std::vector<sal_Int32>::const_iterator it( aPortionList.begin() ); it != aPortionList.end(); ++it )
{
- sal_uInt16 nPos2 = *it;
+ sal_Int32 nPos2 = *it;
ESelection aSelection( nPara, nPos1, nPara, nPos2);
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index e1f5cc3aa268..34e61d943f6b 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -1418,7 +1418,7 @@ ESelection Outliner::GetSearchStartPosition (void)
aPosition = ESelection();
else
{
- xub_StrLen nLastParagraphLength = GetEditEngine().GetTextLen (
+ sal_Int32 nLastParagraphLength = GetEditEngine().GetTextLen (
nParagraphCount-1);
aPosition = ESelection (nParagraphCount-1, nLastParagraphLength);
}