Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #include "rootfrm.hxx"
21 : #include "cntfrm.hxx"
22 : #include "flyfrm.hxx"
23 :
24 0 : void SwFrm::Format( const SwBorderAttrs * )
25 : {
26 : OSL_FAIL( "Format() of the base class called." );
27 0 : }
28 :
29 0 : void SwFrm::Paint(SwRect const&, SwPrintData const*const) const
30 : {
31 : OSL_FAIL( "Paint() of the base class called." );
32 0 : }
33 :
34 0 : bool SwCntntFrm::WouldFit( SwTwips &, bool&, bool )
35 : {
36 : OSL_FAIL( "WouldFit of CntntFrm called." );
37 0 : return false;
38 : }
39 :
40 0 : bool SwFrm::FillSelection( SwSelectionList& , const SwRect& ) const
41 : {
42 : OSL_FAIL( "Don't call this function at the base class!" );
43 0 : return false;
44 : }
45 :
46 0 : bool SwFrm::GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState*, bool ) const
47 : {
48 : OSL_FAIL( "GetCrsrOfst of the base class, hi!" );
49 0 : return false;
50 : }
51 :
52 : #ifdef DBG_UTIL
53 :
54 : void SwRootFrm::Cut()
55 : {
56 : OSL_FAIL( "Cut() of RootFrm called." );
57 : }
58 :
59 : void SwRootFrm::Paste( SwFrm *, SwFrm * )
60 : {
61 : OSL_FAIL( "Paste() of RootFrm called." );
62 : }
63 :
64 : void SwFlyFrm::Paste( SwFrm *, SwFrm * )
65 : {
66 : OSL_FAIL( "Paste() of FlyFrm called." );
67 : }
68 :
69 : #endif
70 :
71 0 : bool SwFrm::GetCharRect( SwRect&, const SwPosition&,
72 : SwCrsrMoveState* ) const
73 : {
74 : OSL_FAIL( "GetCharRect() of the base called." );
75 0 : return false;
76 270 : }
77 :
78 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|