1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 <rtfskipdestination.hxx>
12 namespace writerfilter
{
15 RTFSkipDestination::RTFSkipDestination(RTFDocumentImpl
& rImport
)
22 RTFSkipDestination::~RTFSkipDestination()
24 if (m_rImport
.getSkipUnknown() && m_bReset
)
28 SAL_INFO("writerfilter", OSL_THIS_FUNC
<< ": skipping destination");
29 m_rImport
.getState().nDestinationState
= DESTINATION_SKIP
;
31 m_rImport
.setSkipUnknown(false);
35 void RTFSkipDestination::setParsed(bool bParsed
)
40 void RTFSkipDestination::setReset(bool bReset
)
46 } // namespace writerfilter
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */