summaryrefslogtreecommitdiff
path: root/include/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-08-04 11:44:55 +0200
committerMichael Stahl <mstahl@redhat.com>2015-08-04 11:46:10 +0200
commitf168fcaed2b30178ca6bf5ddb0f8f1763e10a8db (patch)
tree3e517617a2265a23b2da0d5539f113d7469b74af /include/sal
parent28e465d2611adee62aac984a9c0bf731adcb793b (diff)
sal: partially revert a251fe4d48237a4d9c9530dafc7bbdce6028e9cf
The change to sal/log.hxx affects extensions too which are not required to use a C++11 compiler. Change-Id: I3ed08f9a02a2e082fcdb821bce84244597f2390a
Diffstat (limited to 'include/sal')
-rw-r--r--include/sal/log.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sal/log.hxx b/include/sal/log.hxx
index 62cdb77aab1b..563ed57a2c6d 100644
--- a/include/sal/log.hxx
+++ b/include/sal/log.hxx
@@ -74,18 +74,27 @@ template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamStart const &, SAL_UNUSED_PARAMETER T const &)
{
std::abort();
+#if defined _MSC_VER && _MSC_VER < 1700
+ return StreamIgnore();
+#endif
}
template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamString const &, SAL_UNUSED_PARAMETER T const &)
{
std::abort();
+#if defined _MSC_VER && _MSC_VER < 1700
+ return StreamIgnore();
+#endif
}
template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamIgnore const &, SAL_UNUSED_PARAMETER T const &)
{
std::abort();
+#if defined _MSC_VER && _MSC_VER < 1700
+ return StreamIgnore();
+#endif
}
template< typename T > typename T::Result getResult(T const &);
@@ -94,6 +103,9 @@ inline char const * unwrapStream(StreamString const & s) { return s.string; }
inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
std::abort();
+#if defined _MSC_VER && _MSC_VER < 1700
+ return 0;
+#endif
}
} }
"override" in LIBO_INTERNAL_ONLY codeStephan Bergmann Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274 2015-09-07stoc: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe with the variadic variants. Change-Id: I34fe287036ca9b8e5edcb121ba70d9a93ab05276 Reviewed-on: https://gerrit.libreoffice.org/18338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2015-02-20stocservices.component: The rest of the services + cleanup.Jan Holesovsky Change-Id: I5156318afde0f56cf3eb8d1c74c6db8d5e378600 2015-02-20stocservices.component partly refactored to use the "constructor" feature.Ursache Vladimir Change-Id: I4c1c5e62de608738a91be4a234d9c160a18cbf8f 2014-06-05stoc: remove SAL_THROW macroNoel Grandin Change-Id: I7443c855a7145837621887030b0d3d01cca2a5ac 2014-05-22stoc: fix includesThomas Arnhold Change-Id: I0809bfa6897d469e63d6e84898f60aae16a14862 2014-05-22stoc: make use of css aliasThomas Arnhold Change-Id: I1dd85a7b1236cfebd5e653fe6d329968e556364b 2014-04-03Use boost::noncopyableStephan Bergmann Change-Id: I9cba1299c54f196a5a7b35384f4c15bbbea273bb 2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a 2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3 2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051 2013-12-12simplify - use OUString::startsWith where possibleNoel Grandin Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf 2013-11-28Catching std::bad_alloc in UNO implementations no longer necessaryStephan Bergmann ...since 0bc89aac4c64bb833e387657f680e194c26aef97 "cppumaker: Allow UNO interface functions to throw std::exception." Change-Id: Ia28f02ea10d45267fd951e80da01ffdfdb420885