From 0c7bff02710f8ad7915e215f723b6abad0079221 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Nov 2011 15:45:43 +0100 Subject: Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros. A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually. --- avmedia/source/viewer/mediawindowbase_impl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'avmedia') diff --git a/avmedia/source/viewer/mediawindowbase_impl.cxx b/avmedia/source/viewer/mediawindowbase_impl.cxx index 97f36cef5b91..c6b46aff133d 100644 --- a/avmedia/source/viewer/mediawindowbase_impl.cxx +++ b/avmedia/source/viewer/mediawindowbase_impl.cxx @@ -31,7 +31,7 @@ #include "mediamisc.hxx" #include "mediawindow.hrc" #include -#include +#include #include #include #include @@ -83,14 +83,14 @@ uno::Reference< media::XPlayer > MediaWindowBaseImpl::createPlayer( const ::rtl: xManager->createPlayer( rURL ), uno::UNO_QUERY ); } else - SAL_WARN_S( + SAL_WARN( "avmedia", ("failed to create media player service " AVMEDIA_MANAGER_SERVICE_NAME)); } catch( const uno::Exception &e ) { - SAL_WARN_S( + SAL_WARN( "avmedia", "couldn't create media player " AVMEDIA_MANAGER_SERVICE_NAME ", exception '" << e.Message << '\''); -- cgit