summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-04-20 19:37:04 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-04-27 14:00:43 +0200
commit0c8199904fc3780354092730e4272864aed7d9e8 (patch)
tree952c6c414d8c2b85a00a9e2b0ba205840c6f1f0d /sw/source/filter
parentfa61f06468a13f13fe713fe05e22f06d7b1873ce (diff)
sal_uInt16 to size_t, and constify
Change-Id: I09c30df0c2ab4150baf2224bee5b107a47179790
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/xml/xmltexte.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 699b2898a906..b4460d20b9fc 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -99,7 +99,7 @@ void SwXMLTextParagraphExport::exportStyleContent(
{
const SwFmtCollConditions& rConditions =
((const SwConditionTxtFmtColl *)pColl)->GetCondColls();
- for( sal_uInt16 i=0; i < rConditions.size(); i++ )
+ for( size_t i=0; i < rConditions.size(); ++i )
{
const SwCollCondition& rCond = rConditions[i];
@@ -566,7 +566,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded(
while ( i > 0 )
{
beans::PropertyValue& aProp = aProps[--i];
- sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_True );
+ const sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_True );
if ( nType2 == SWHTML_OPTTYPE_TAG)
{
OUString aStr2;
@@ -662,7 +662,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded(
while ( i > 0 )
{
beans::PropertyValue& aProp = aProps[--i];
- sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_True );
+ const sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_True );
if (SWHTML_OPTTYPE_PARAM == nType2 || SWHTML_OPTTYPE_SIZE == nType2 )
{
OUString aStr;
@@ -688,7 +688,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded(
while ( i > 0 )
{
beans::PropertyValue& aProp = aProps[--i];
- sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_False );
+ const sal_uInt16 nType2 = SwApplet_Impl::GetOptionType( aProp.Name, sal_False );
if ( nType2 == SWHTML_OPTTYPE_TAG)
{
OUString aStr;