[Libreoffice-commits] .: sc/source

Christian Lohmaier cloph at kemper.freedesktop.org
Sat Feb 26 09:07:32 PST 2011


 sc/source/ui/docshell/autostyl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 490e6247ab3e759312576f32c6c8f68fa531baee
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Sat Feb 26 18:04:23 2011 +0100

    WaE: picky about comparison between signed and unsigned

diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index aa744a7..7d874f9 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -175,7 +175,7 @@ void ScAutoStyleList::StartTimer( ULONG nNow )		// Sekunden
 {
     // ersten Eintrag mit Timeout != 0 suchen
     boost::ptr_vector<ScAutoStyleData>::iterator iter = std::find_if(aEntries.begin(),aEntries.end(),
-                                                                     boost::bind(&ScAutoStyleData::nTimeout,_1) != 0);
+                                                                     boost::bind(&ScAutoStyleData::nTimeout,_1) != static_cast<unsigned>(0));
 
     if (iter != aEntries.end())
     {


More information about the Libreoffice-commits mailing list