fix logic
[personal-kdelibs.git] / khtml / rendering / SVGInlineFlowBox.cpp
blob8df60dc7f0c3e361f563b66cf157f01dd7fb53d0
1 /*
2 * This file is part of the WebKit project.
4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
5 * (C) 2006 Apple Computer Inc.
6 * (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
25 #include "config.h"
26 #include "wtf/Platform.h"
28 #if ENABLE(SVG)
29 #include "SVGInlineFlowBox.h"
30 #include "SVGNames.h"
32 namespace WebCore {
34 using namespace SVGNames;
36 void SVGInlineFlowBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
38 //ASSERT_NOT_REACHED();
41 int SVGInlineFlowBox::placeBoxesHorizontally(int x, int& leftPosition, int& rightPosition, bool& needsWordSpacing)
43 // no-op
44 return 0;
47 void SVGInlineFlowBox::verticallyAlignBoxes(int& heightOfBlock)
49 // no-op
52 } // namespace WebCore
54 #endif // ENABLE(SVG)