summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-12-02 22:00:47 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-12-02 22:00:47 -0500
commit2c09f5071fe940881293615dad95b4b046a03a70 (patch)
treece47f00e813e428fb0aa795b2fa29637cff1e015 /avmedia
parentc53c81d97eca4fd3f9a6957ed8b3988a61391da7 (diff)
Fixed build breakage, and remove warning.
OUString never understands generic int type; it thinks it's too ambiguous, depending on 32-bit or 64-bit build environment.
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/framework/mediaitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx
index d38548afc561..cb296375594a 100644
--- a/avmedia/source/framework/mediaitem.cxx
+++ b/avmedia/source/framework/mediaitem.cxx
@@ -422,7 +422,7 @@ lcl_CreateStream(uno::Reference<embed::XStorage> const& xStorage,
do
{
++count;
- filename = basename + ::rtl::OUString::valueOf(count) + suffix;
+ filename = basename + ::rtl::OUString::valueOf(static_cast<sal_Int32>(count)) + suffix;
}
while (xStorage->hasByName(filename));
}
@@ -496,7 +496,7 @@ bool EmbedMedia(uno::Reference<frame::XModel> const& xModel,
o_rEmbeddedURL = buf.makeStringAndClear();
return true;
}
- catch (uno::Exception const& e)
+ catch (uno::Exception const&)
{
SAL_WARN("avmedia",
"Exception while trying to embed media");