[Libreoffice-commits] core.git: svtools/qa

Zolnai Tamás tamas.zolnai at collabora.com
Tue Nov 18 09:34:22 PST 2014


 svtools/qa/unit/GraphicObjectTest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89361fcff340c8a168d25160a4d8efe9e39e7d51
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Tue Nov 18 18:33:35 2014 +0100

    Fix broken GraphicObjectTest
    
    Change-Id: I3f7e0ccd5697a4ca6026bec60210e24af25fb92f

diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx
index 5216e70..71d975b 100644
--- a/svtools/qa/unit/GraphicObjectTest.cxx
+++ b/svtools/qa/unit/GraphicObjectTest.cxx
@@ -221,7 +221,7 @@ void GraphicObjectTest::testSizeBasedAutoSwap()
     // Use bigger cache
     {
         GraphicManager& rGrfMgr = pGrafObj1->GetGraphicManager();
-        rGrfMgr.SetMaxCacheSize(pGrafObj1->GetSizeBytes()+pGrafObj2->GetSizeBytes());
+        rGrfMgr.SetMaxCacheSize(pGrafObj1->GetSizeBytes()+pGrafObj2->GetSizeBytes()*10);
     }
     // Swap in both images -> both should be swapped in
     {


More information about the Libreoffice-commits mailing list