summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 20:16:26 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:27:17 +0200
commit04fd62096fca2c0b917ac6172104399e65933585 (patch)
tree3e1d4e9c8b9aed6b308103c5e235f71ec3b2cce1 /svtools
parent5501c8d2220ee3cab703d09d348e99ba3e017dba (diff)
remove unnecessary casts in calls to SvStream.WriteInt32
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/templatefoldercache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 0fc2527afaf1..09c7c8fcf3a3 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -334,7 +334,7 @@ namespace svt
// store the info about the children
// the number
- m_rStorage.WriteInt32( (sal_Int32)_rContent.size() );
+ m_rStorage.WriteInt32( _rContent.size() );
// their URLs ( the local name is not enough, since URL might be not a hierarchical one, "expand:" for example )
::std::for_each(
_rContent.getSubContents().begin(),
@@ -540,7 +540,7 @@ namespace svt
// store the template root folders
// the size
- m_pCacheStream->WriteInt32( (sal_Int32)m_aCurrentState.size() );
+ m_pCacheStream->WriteInt32( m_aCurrentState.size() );
// the complete URLs
::std::for_each(
m_aCurrentState.begin(),