diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-12-06 12:26:40 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-06 12:26:40 +0100 |
commit | 73bf02cd523470a06793ccb37bee26ef96538941 (patch) | |
tree | 62f28fa41e54005827d5d66b8ecfbff587fdc0d0 /avmedia/source | |
parent | d93b69fb930ca0b3e21a197beda0e0d503cce70b (diff) |
mediaitem.cxx: unnecessary casting
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index 2ec4ae574457..2dda7a912212 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -413,11 +413,11 @@ lcl_CreateStream(uno::Reference<embed::XStorage> const& xStorage, basename = rFilename.copy(0, nIndex); suffix = rFilename.copy(nIndex); } - int count(0); // sigh... try to generate non-existent name + sal_Int32 count(0); // sigh... try to generate non-existent name do { ++count; - filename = basename + ::rtl::OUString::valueOf(static_cast<sal_Int32>(count)) + suffix; + filename = basename + ::rtl::OUString::valueOf(count) + suffix; } while (xStorage->hasByName(filename)); } |