summaryrefslogtreecommitdiff
path: root/sw/inc/fmtanchr.hxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-08 09:18:14 +0100
committersb <sb@openoffice.org>2010-02-08 09:18:14 +0100
commit4942355a6c3d664f7167301c0cb0cc87519509a4 (patch)
treebcb6dc11ce62594f228db693d3338071f31bb5c2 /sw/inc/fmtanchr.hxx
parent0acec7aff4f5ee1e181439b4936d7e0e34bbc0e1 (diff)
parent65d792a0b8508a931221451c6e1e5072681fd3db (diff)
sb118: merged in DEV300_m71
Diffstat (limited to 'sw/inc/fmtanchr.hxx')
-rw-r--r--sw/inc/fmtanchr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index e3b241aebf..d2f6d76c12 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -55,7 +55,7 @@ class SW_DLLPUBLIC SwFmtAnchor: public SfxPoolItem
static sal_uInt32 mnOrderCounter;
public:
- SwFmtAnchor( RndStdIds eRnd = FLY_PAGE, USHORT nPageNum = 0 );
+ SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, USHORT nPageNum = 0 );
SwFmtAnchor( const SwFmtAnchor &rCpy );
~SwFmtAnchor();
@@ -86,7 +86,7 @@ public:
};
inline const SwFmtAnchor &SwAttrSet::GetAnchor(BOOL bInP) const
- { return (const SwFmtAnchor&)Get( RES_ANCHOR,bInP); }
+ { return static_cast<const SwFmtAnchor&>(Get(RES_ANCHOR, bInP)); }
inline const SwFmtAnchor &SwFmt::GetAnchor(BOOL bInP) const
{ return aSet.GetAnchor(bInP); }