[Libreoffice-commits] .: lotuswordpro/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jan 2 06:55:52 PST 2011
lotuswordpro/source/filter/clone.hxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit dc08b44b551a75e7bcc7752dd1eb35dba3e246d5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 2 14:55:45 2011 +0000
use enum instead of static bool
diff --git a/lotuswordpro/source/filter/clone.hxx b/lotuswordpro/source/filter/clone.hxx
index 35a4cd4..4015866 100644
--- a/lotuswordpro/source/filter/clone.hxx
+++ b/lotuswordpro/source/filter/clone.hxx
@@ -43,7 +43,10 @@ struct has_clone
template<typename U>
static no check_sig(...);
- static bool const value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes);
+ enum
+ {
+ value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes)
+ };
};
template<typename T, bool HasClone>
More information about the Libreoffice-commits
mailing list