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

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


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

New commits:
commit c4706528d4d2a5d79c91c0d6fa5f9de0b016c27b
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Tue Nov 18 18:39:49 2014 +0100

    Missing parentheses
    
    Change-Id: Id6c096d09b984039d54a1d152cf0da594aaf203d

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


More information about the Libreoffice-commits mailing list