Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,

Thanks to Stephan Bergmann I could fix also the dev-install of make, so now it works well even for debug version. Here I am sending the patch for this issue.

Gabor
From 7a8fb1822ffd5994fe3b805577d8eadad4ca41f4 Mon Sep 17 00:00:00 2001
From: Gabor <jengab@elte.hu>
Date: Wed, 24 Aug 2011 12:02:44 +0200
Subject: [PATCH] dev-install build fix

---
 filter/source/config/cache/filtercache.cxx |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 37983d3..5099cc9 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -214,13 +214,7 @@ void FilterCache::load(EFillState eRequired,
         return;
 
 #if OSL_DEBUG_LEVEL > 1
-    if (
-        (!bByThread) &&
-        (
-            ((eRequired & E_CONTAINS_FILTERS) == E_CONTAINS_FILTERS) ||
-            ((eRequired & E_CONTAINS_ALL    ) == E_CONTAINS_ALL    )
-        )
-       )
+    if (!bByThread && ((eRequired & E_CONTAINS_ALL) == E_CONTAINS_ALL))
     {
         OSL_FAIL("Who disturb our \"fill cache on demand\" feature and force loading of ALL data 
during office startup? Please optimize your code, so a full filled filter cache is not realy needed 
here!");
     }
-- 
1.7.2.5


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.