1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #include <BorderCacheOwner.hxx>
12 #include <hintids.hxx>
14 #include <swcache.hxx>
18 BorderCacheOwner::~BorderCacheOwner()
21 SwFrame::GetCache().Delete(this);
24 void BorderCacheOwner::InvalidateInSwCache(const sal_uInt16 nWhich
)
32 case RES_MARGIN_FIRSTLINE
:
33 case RES_MARGIN_TEXTLEFT
:
34 case RES_MARGIN_RIGHT
:
43 SwFrame::GetCache().Delete(this);
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */