summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.cxx
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@oracle.com>2010-12-05 11:40:40 +0100
committerThorsten Behrens <tbehrens@novell.com>2010-12-15 10:02:40 +0100
commit2a8043bab8bcade9b4366598cf25219f9307527f (patch)
treee8733a4224fd59fd385a04605ede23908cbe9abe /sd/source/filter/ppt/propread.cxx
parent07987129c5ca74dfa96e8f483053a482e9111cfb (diff)
impress206: fixed compiler warning(cherry picked from commit 8df4a00b9bc1739289e45d9f4485f355298a35eb)
Diffstat (limited to 'sd/source/filter/ppt/propread.cxx')
-rw-r--r--sd/source/filter/ppt/propread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index ebc54c117c2f..e711263291c8 100644
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -100,7 +100,7 @@ static xub_StrLen lcl_getMaxSafeStrLen(sal_uInt32 nSize)
if (nSize > STRING_MAXLEN)
nSize = STRING_MAXLEN;
- return nSize;
+ return static_cast< xub_StrLen >( nSize );
}
BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )