summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-05-25 19:23:05 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-06-01 20:11:49 +0200
commite1cee80e4cb18e506d4a5fe3d2f4d6403e8f2223 (patch)
treed872268812cc20ccb90a66e67dbe79317f61c595 /sw
parent56e3df3946821f0e61356e25322fea61461a5d95 (diff)
sal_uInt16 to more proper types
Change-Id: I5b3ac7b5bd0b5efe437f04ee308bdd94f55672c9
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/swunohelper.cxx2
-rw-r--r--sw/source/core/unocore/unodraw.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/swunohelper.cxx b/sw/source/core/unocore/swunohelper.cxx
index c203d73222d3..11eeeeb9d6a7 100644
--- a/sw/source/core/unocore/swunohelper.cxx
+++ b/sw/source/core/unocore/swunohelper.cxx
@@ -196,7 +196,7 @@ bool UCB_GetFileListOfFolder( const OUString& rURL,
ucbhelper::Content aCnt( rURL, ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet;
- sal_uInt16 nSeqSize = pDateTimeList ? 2 : 1;
+ const sal_Int32 nSeqSize = pDateTimeList ? 2 : 1;
::com::sun::star::uno::Sequence < OUString > aProps( nSeqSize );
OUString* pProps = aProps.getArray();
pProps[ 0 ] = "Title";
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index abb97a18bb0d..775f0efc6912 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -758,7 +758,7 @@ uno::Reference< drawing::XShapeGroup > SwXDrawPage::group(const uno::Reference<
if ( rMarkList.GetMarkCount() > 1 )
{
bool bFlyInCnt = false;
- for ( sal_uInt16 i = 0; !bFlyInCnt && i < rMarkList.GetMarkCount(); ++i )
+ for ( sal_uLong i = 0; !bFlyInCnt && i < rMarkList.GetMarkCount(); ++i )
{
const SdrObject *pObj = rMarkList.GetMark( i )->GetMarkedSdrObj();
if (FLY_AS_CHAR == ::FindFrmFmt(const_cast<SdrObject*>(