[Libreoffice-commits] .: lotuswordpro/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Jan 2 07:01:26 PST 2011


 lotuswordpro/source/filter/clone.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 167c7256d7f6fd955710643613f8b0c6c014422c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 2 15:01:19 2011 +0000

    tweak this to build under windows

diff --git a/lotuswordpro/source/filter/clone.hxx b/lotuswordpro/source/filter/clone.hxx
index 4015866..0a2b64d 100644
--- a/lotuswordpro/source/filter/clone.hxx
+++ b/lotuswordpro/source/filter/clone.hxx
@@ -39,13 +39,13 @@ struct has_clone
     typedef struct { char a[2]; } no;
 
     template<typename U>
-    static yes check_sig(U*, test<U* (U::*)() const, &U::clone>* = 0);
+    static yes& check_sig(U*, test<U* (U::*)() const, &U::clone>* = 0);
     template<typename U>
-    static no check_sig(...);
+    static no& check_sig(...);
 
     enum
     {
-        value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes)
+        value = sizeof(check_sig<T>(0)) == sizeof(yes)
     };
 };
 


More information about the Libreoffice-commits mailing list