xref: /aoo42x/main/sw/source/core/layout/unusedf.cxx (revision efeef26f)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_sw.hxx"
26 
27 #include "rootfrm.hxx"
28 #include "cntfrm.hxx"
29 #include "flyfrm.hxx"
30 #include "errhdl.hxx"
31 
32 
Format(const SwBorderAttrs *)33 void SwFrm::Format( const SwBorderAttrs * )
34 {
35 	ASSERT( sal_False, "Format() der Basisklasse gerufen." );
36 }
37 
Paint(SwRect const &,SwPrintData const * const) const38 void SwFrm::Paint(SwRect const&, SwPrintData const*const) const
39 {
40 	ASSERT( sal_False, "Paint() der Basisklasse gerufen." );
41 }
42 
WouldFit(SwTwips &,sal_Bool &,sal_Bool)43 sal_Bool SwCntntFrm::WouldFit( SwTwips &, sal_Bool&, sal_Bool )
44 {
45 	ASSERT( sal_False, "WouldFit des CntntFrm gerufen." );
46 	return sal_False;
47 }
48 
FillSelection(SwSelectionList &,const SwRect &) const49 bool SwFrm::FillSelection( SwSelectionList& , const SwRect& ) const
50 {
51 	ASSERT( false, "Don't call this function at the base class!" );
52     return false;
53 }
54 
GetCrsrOfst(SwPosition *,Point &,SwCrsrMoveState *) const55 sal_Bool SwFrm::GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState*  ) const
56 {
57 	ASSERT( sal_False, "GetCrsrOfst der Basisklasse, hi!" );
58 	return sal_False;
59 }
60 
61 #ifdef DBG_UTIL
62 
Cut()63 void SwRootFrm::Cut()
64 {
65 	ASSERT( sal_False, "Cut() des RootFrm gerufen." );
66 }
67 
Paste(SwFrm *,SwFrm *)68 void SwRootFrm::Paste( SwFrm *, SwFrm * )
69 {
70 	ASSERT( sal_False, "Paste() des RootFrm gerufen." );
71 }
72 
Paste(SwFrm *,SwFrm *)73 void SwFlyFrm::Paste( SwFrm *, SwFrm * )
74 {
75 	ASSERT( sal_False, "Paste() des FlyFrm gerufen." );
76 }
77 
78 #endif
79 
GetCharRect(SwRect &,const SwPosition &,SwCrsrMoveState *) const80 sal_Bool SwFrm::GetCharRect( SwRect&, const SwPosition&,
81 						 SwCrsrMoveState* ) const
82 {
83 	ASSERT( sal_False, "GetCharRect() der Basis gerufen." );
84 	return sal_False;
85 }
86 
87 
88