sw: avoid 'using namespace' in headers
Change-Id: I51fe244a7296feba7aad08a7bee9e7ec961bcadd
This commit is contained in:
@@ -37,8 +37,6 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
using namespace ::com::sun::star;
|
|
||||||
|
|
||||||
class Point;
|
class Point;
|
||||||
class SvxCaseMapItem;
|
class SvxCaseMapItem;
|
||||||
class SvxColorItem;
|
class SvxColorItem;
|
||||||
@@ -297,7 +295,7 @@ public:
|
|||||||
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) = 0;
|
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) = 0;
|
||||||
|
|
||||||
// preserve page vertical alignment
|
// preserve page vertical alignment
|
||||||
virtual void TextVerticalAdjustment( const drawing::TextVerticalAdjust) {};
|
virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust) {};
|
||||||
|
|
||||||
/// Start of the section properties.
|
/// Start of the section properties.
|
||||||
virtual void StartSection() = 0;
|
virtual void StartSection() = 0;
|
||||||
|
@@ -291,7 +291,7 @@ public:
|
|||||||
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
|
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
|
||||||
|
|
||||||
// preserve DOCX page vertical alignment
|
// preserve DOCX page vertical alignment
|
||||||
virtual void TextVerticalAdjustment( const drawing::TextVerticalAdjust ) SAL_OVERRIDE;
|
virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) SAL_OVERRIDE;
|
||||||
|
|
||||||
/// Start of the section properties.
|
/// Start of the section properties.
|
||||||
virtual void StartSection() override;
|
virtual void StartSection() override;
|
||||||
|
@@ -148,7 +148,7 @@ public:
|
|||||||
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
|
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
|
||||||
|
|
||||||
// preserve DOC page vertical alignment
|
// preserve DOC page vertical alignment
|
||||||
virtual void TextVerticalAdjustment( const drawing::TextVerticalAdjust ) SAL_OVERRIDE;
|
virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) SAL_OVERRIDE;
|
||||||
|
|
||||||
/// Start of the section properties.
|
/// Start of the section properties.
|
||||||
virtual void StartSection() override;
|
virtual void StartSection() override;
|
||||||
|
@@ -56,8 +56,6 @@
|
|||||||
|
|
||||||
#include <boost/noncopyable.hpp>
|
#include <boost/noncopyable.hpp>
|
||||||
|
|
||||||
using namespace ::com::sun::star;
|
|
||||||
|
|
||||||
class SwDoc;
|
class SwDoc;
|
||||||
class SwPaM;
|
class SwPaM;
|
||||||
class SfxPoolItem;
|
class SfxPoolItem;
|
||||||
@@ -813,7 +811,7 @@ public:
|
|||||||
sal_uInt32 nPgLeft;
|
sal_uInt32 nPgLeft;
|
||||||
sal_uInt32 nPgRight;
|
sal_uInt32 nPgRight;
|
||||||
|
|
||||||
drawing::TextVerticalAdjust mnVerticalAdjustment;
|
css::drawing::TextVerticalAdjust mnVerticalAdjustment;
|
||||||
sal_uInt8 mnBorders;
|
sal_uInt8 mnBorders;
|
||||||
bool mbHasFootnote;
|
bool mbHasFootnote;
|
||||||
void SetDirection();
|
void SetDirection();
|
||||||
@@ -900,7 +898,7 @@ public:
|
|||||||
explicit wwSectionManager(SwWW8ImplReader &rReader) : mrReader(rReader), mnDesc(0)
|
explicit wwSectionManager(SwWW8ImplReader &rReader) : mrReader(rReader), mnDesc(0)
|
||||||
{}
|
{}
|
||||||
void SetCurrentSectionHasFootnote();
|
void SetCurrentSectionHasFootnote();
|
||||||
void SetCurrentSectionVerticalAdjustment(const drawing::TextVerticalAdjust nVA);
|
void SetCurrentSectionVerticalAdjustment(const css::drawing::TextVerticalAdjust nVA);
|
||||||
bool CurrentSectionIsVertical() const;
|
bool CurrentSectionIsVertical() const;
|
||||||
bool CurrentSectionIsProtected() const;
|
bool CurrentSectionIsProtected() const;
|
||||||
void PrependedInlineNode(const SwPosition &rPos, const SwNode &rNode);
|
void PrependedInlineNode(const SwPosition &rPos, const SwNode &rNode);
|
||||||
|
Reference in New Issue
Block a user