MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / incPageCount

Method incPageCount

src/document/UBDocumentProxy.cpp:170–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170int UBDocumentProxy::incPageCount()
171{
172 if (mPageCount <= 0)
173 {
174 mPageCount = 1;
175 }
176 else
177 {
178 mPageCount++;
179 }
180
181 return mPageCount;
182
183}
184
185
186int UBDocumentProxy::decPageCount()

Callers 4

copyDocumentSceneMethod · 0.80
createDocumentSceneAtMethod · 0.80
insertDocumentSceneAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected