diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:16:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:16:14 +0100 |
commit | 48db069fd7341ad8128d0e9a5fbcc5b092fe9860 (patch) | |
tree | 1e7e14069f35086928b11f48c0a67dedec8730bc /sfx2/source/doc/doctempl.cxx | |
parent | 5e7e3c3bd7bd10a9f7216d4d9fa8f2c61bf2db3e (diff) |
More loplugin:cstylecast: sfx2
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: Ia3bed56999f3d684f706ce0bd5be8a2269b06d22
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index f5beabedfe78..5f82dde5827c 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -1500,7 +1500,7 @@ void SfxDocTemplate_Impl::AddRegion( const OUString& rTitle, RegionData_Impl* pRegion; pRegion = new RegionData_Impl( this, rTitle ); - if ( ! InsertRegion( pRegion, (size_t)-1 ) ) + if ( ! InsertRegion( pRegion, size_t(-1) ) ) { delete pRegion; return; |