Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sw / source / core / layout / unusedf.cxx
blob25de7617c11df40d14d14420dfdb558d15f797a2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <rootfrm.hxx>
21 #include <cntfrm.hxx>
22 #include <flyfrm.hxx>
23 #include <osl/diagnose.h>
25 void SwFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderAttrs * )
27 OSL_FAIL( "Format() of the base class called." );
30 void SwFrame::PaintSwFrame(vcl::RenderContext&, SwRect const&, SwPrintData const*const) const
32 OSL_FAIL( "PaintSwFrame() of the base class called." );
35 bool SwContentFrame::WouldFit(SwTwips &, bool&, bool, bool)
37 OSL_FAIL( "WouldFit of ContentFrame called." );
38 return false;
41 bool SwFrame::FillSelection( SwSelectionList& , const SwRect& ) const
43 OSL_FAIL( "Don't call this function at the base class!" );
44 return false;
47 bool SwFrame::GetModelPositionForViewPoint( SwPosition *, Point&, SwCursorMoveState*, bool ) const
49 OSL_FAIL( "GetModelPositionForViewPoint of the base class, hi!" );
50 return false;
53 #ifdef DBG_UTIL
55 void SwRootFrame::Cut()
57 OSL_FAIL( "Cut() of RootFrame called." );
60 void SwRootFrame::Paste( SwFrame *, SwFrame * )
62 OSL_FAIL( "Paste() of RootFrame called." );
65 void SwFlyFrame::Paste( SwFrame *, SwFrame * )
67 OSL_FAIL( "Paste() of FlyFrame called." );
70 #endif
72 bool SwFrame::GetCharRect( SwRect&, const SwPosition&,
73 SwCursorMoveState*, bool ) const
75 OSL_FAIL( "GetCharRect() of the base called." );
76 return false;
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */