Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : :
30 : : #include "rootfrm.hxx"
31 : : #include "cntfrm.hxx"
32 : : #include "flyfrm.hxx"
33 : :
34 : :
35 : 0 : void SwFrm::Format( const SwBorderAttrs * )
36 : : {
37 : : OSL_FAIL( "Format() of the base class called." );
38 : 0 : }
39 : :
40 : 0 : void SwFrm::Paint(SwRect const&, SwPrintData const*const) const
41 : : {
42 : : OSL_FAIL( "Paint() of the base class called." );
43 : 0 : }
44 : :
45 : 0 : sal_Bool SwCntntFrm::WouldFit( SwTwips &, sal_Bool&, sal_Bool )
46 : : {
47 : : OSL_FAIL( "WouldFit of CntntFrm called." );
48 : 0 : return sal_False;
49 : : }
50 : :
51 : 0 : bool SwFrm::FillSelection( SwSelectionList& , const SwRect& ) const
52 : : {
53 : : OSL_FAIL( "Don't call this function at the base class!" );
54 : 0 : return false;
55 : : }
56 : :
57 : 0 : sal_Bool SwFrm::GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState* ) const
58 : : {
59 : : OSL_FAIL( "GetCrsrOfst of the base class, hi!" );
60 : 0 : return sal_False;
61 : : }
62 : :
63 : : #ifdef DBG_UTIL
64 : :
65 : : void SwRootFrm::Cut()
66 : : {
67 : : OSL_FAIL( "Cut() of RootFrm called." );
68 : : }
69 : :
70 : : void SwRootFrm::Paste( SwFrm *, SwFrm * )
71 : : {
72 : : OSL_FAIL( "Paste() of RootFrm called." );
73 : : }
74 : :
75 : : void SwFlyFrm::Paste( SwFrm *, SwFrm * )
76 : : {
77 : : OSL_FAIL( "Paste() of FlyFrm called." );
78 : : }
79 : :
80 : : #endif
81 : :
82 : 0 : sal_Bool SwFrm::GetCharRect( SwRect&, const SwPosition&,
83 : : SwCrsrMoveState* ) const
84 : : {
85 : : OSL_FAIL( "GetCharRect() of the base called." );
86 : 0 : return sal_False;
87 : : }
88 : :
89 : :
90 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|