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 :
21 : #include "rootfrm.hxx"
22 : #include "cntfrm.hxx"
23 : #include "flyfrm.hxx"
24 :
25 :
26 0 : void SwFrm::Format( const SwBorderAttrs * )
27 : {
28 : OSL_FAIL( "Format() of the base class called." );
29 0 : }
30 :
31 0 : void SwFrm::Paint(SwRect const&, SwPrintData const*const) const
32 : {
33 : OSL_FAIL( "Paint() of the base class called." );
34 0 : }
35 :
36 0 : sal_Bool SwCntntFrm::WouldFit( SwTwips &, sal_Bool&, sal_Bool )
37 : {
38 : OSL_FAIL( "WouldFit of CntntFrm called." );
39 0 : return sal_False;
40 : }
41 :
42 0 : bool SwFrm::FillSelection( SwSelectionList& , const SwRect& ) const
43 : {
44 : OSL_FAIL( "Don't call this function at the base class!" );
45 0 : return false;
46 : }
47 :
48 0 : sal_Bool SwFrm::GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState*, bool ) const
49 : {
50 : OSL_FAIL( "GetCrsrOfst of the base class, hi!" );
51 0 : return sal_False;
52 : }
53 :
54 : #ifdef DBG_UTIL
55 :
56 : void SwRootFrm::Cut()
57 : {
58 : OSL_FAIL( "Cut() of RootFrm called." );
59 : }
60 :
61 : void SwRootFrm::Paste( SwFrm *, SwFrm * )
62 : {
63 : OSL_FAIL( "Paste() of RootFrm called." );
64 : }
65 :
66 : void SwFlyFrm::Paste( SwFrm *, SwFrm * )
67 : {
68 : OSL_FAIL( "Paste() of FlyFrm called." );
69 : }
70 :
71 : #endif
72 :
73 0 : sal_Bool SwFrm::GetCharRect( SwRect&, const SwPosition&,
74 : SwCrsrMoveState* ) const
75 : {
76 : OSL_FAIL( "GetCharRect() of the base called." );
77 0 : return sal_False;
78 : }
79 :
80 :
81 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|