[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Aug 1 15:29:04 PDT 2011


 sw/source/core/bastyp/swcache.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 465f93ce1992660f827699cd79d52548a38fe4e0
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Mon Aug 1 21:58:37 2011 +0200

    SwCache: fix build with dbglevel=2

diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index 5e1fb44..b04ebb9 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -30,6 +30,7 @@
 #include "precompiled_sw.hxx"
 
 #include <swcache.hxx>
+#include <rtl/strbuf.hxx>
 
 SV_IMPL_PTRARR(SwCacheObjArr,SwCacheObj*);
 
@@ -135,7 +136,7 @@ SwCache::~SwCache()
             append('\n').
             append(RTL_CONSTASCII_STRINGPARAM(
                 "Number of insert on free places:       ")).
-            append(static_cast<sal_Int32<(nInsertFree)).
+            append(static_cast<sal_Int32>(nInsertFree)).
             append('\n').
             append(RTL_CONSTASCII_STRINGPARAM(
                 "Number of replacements:                ")).


More information about the Libreoffice-commits mailing list