summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/writerhelper.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-03-14 11:24:04 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-03-14 11:24:04 +0100
commit16384a53f7fb5b3eeaaa6e624c7416f7e13b17d2 (patch)
treeea5f59a57b58aa09662e8d8c7212a0f99ca25dc6 /sw/source/filter/ww8/writerhelper.hxx
parente86e7e5c4bb6c4b6d28cf72671e69f42257fb924 (diff)
Code cleanup for i#120928 patch
Change-Id: Ic46acc5207bab70f080c4eba5a8113de8376ad36
Diffstat (limited to 'sw/source/filter/ww8/writerhelper.hxx')
-rw-r--r--sw/source/filter/ww8/writerhelper.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx
index 266af1416d95..3d45b43c7851 100644
--- a/sw/source/filter/ww8/writerhelper.hxx
+++ b/sw/source/filter/ww8/writerhelper.hxx
@@ -95,7 +95,7 @@ namespace sw
class Frame
{
public:
- enum WriterSource {eTxtBox, eGraphic, eOle, eDrawing, eFormControl,eBulletGrf};//For i120928,add Grf Bul Type
+ enum WriterSource {eTxtBox, eGraphic, eOle, eDrawing, eFormControl,eBulletGrf};
private:
const SwFrmFmt* mpFlyFrm;
SwPosition maPos;
@@ -112,8 +112,8 @@ namespace sw
Graphic maGrf;
public:
Frame(const SwFrmFmt &rFlyFrm, const SwPosition &rPos);
- Frame(const Graphic&, const SwPosition &);
- //End
+ Frame(const Graphic&, const SwPosition &);
+
/** Get the writer SwFrmFmt that this object describes
@return
@@ -167,8 +167,8 @@ namespace sw
the first node of content in the frame, might not be any at all.
*/
const SwNode *GetContent() const { return mpStartFrameContent; }
- const Graphic &GetGraphic() const { return maGrf; }
- bool HasGraphic() const { return mbForBullet; }
+ const Graphic &GetGraphic() const { return maGrf; }
+ bool HasGraphic() const { return mbForBullet; }
/** Does this sw::Frame refer to the same writer content as another
@@ -178,12 +178,12 @@ namespace sw
*/
bool RefersToSameFrameAs(const Frame &rOther) const
{
- if (mbForBullet && rOther.mbForBullet)
- return (maGrf == rOther.maGrf);
- else if ((!mbForBullet) && (!rOther.mbForBullet))
- return (mpFlyFrm == rOther.mpFlyFrm);
- else
- return false;
+ if (mbForBullet && rOther.mbForBullet)
+ return (maGrf == rOther.maGrf);
+ else if ((!mbForBullet) && (!rOther.mbForBullet))
+ return (mpFlyFrm == rOther.mpFlyFrm);
+ else
+ return false;
}
/** The Size of the contained element