SlsViewCacheContext.cxx (79aad27f) SlsViewCacheContext.cxx (4799f5ba)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 56 unchanged lines hidden (view full) ---

65 const model::SharedPageDescriptor pDescriptor (GetDescriptor(aKey));
66 if (pDescriptor.get() != NULL)
67 {
68 // Force a repaint that will trigger their re-creation.
69 mrSlideSorter.GetView().RequestRepaint(pDescriptor);
70 }
71 else
72 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 56 unchanged lines hidden (view full) ---

65 const model::SharedPageDescriptor pDescriptor (GetDescriptor(aKey));
66 if (pDescriptor.get() != NULL)
67 {
68 // Force a repaint that will trigger their re-creation.
69 mrSlideSorter.GetView().RequestRepaint(pDescriptor);
70 }
71 else
72 {
73 OSL_ASSERT(pDescriptor);
73 // It is OK when a preview was created for a page that is not
74 // currently displayed because both normal and master pages are
75 // kept in the same cache.
74 }
75}
76
77
78
79
80bool ViewCacheContext::IsIdle (void)
81{

--- 74 unchanged lines hidden ---
76 }
77}
78
79
80
81
82bool ViewCacheContext::IsIdle (void)
83{

--- 74 unchanged lines hidden ---