sw: avoid 'using namespace' in headers

Change-Id: I51fe244a7296feba7aad08a7bee9e7ec961bcadd
This commit is contained in:
Miklos Vajna
2015-10-20 09:23:12 +02:00
parent 12c4c9cbf3
commit 4559e4b900
4 changed files with 5 additions and 9 deletions

View File

@@ -37,8 +37,6 @@
#include <vector>
using namespace ::com::sun::star;
class Point;
class SvxCaseMapItem;
class SvxColorItem;
@@ -297,7 +295,7 @@ public:
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) = 0;
// preserve page vertical alignment
virtual void TextVerticalAdjustment( const drawing::TextVerticalAdjust) {};
virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust) {};
/// Start of the section properties.
virtual void StartSection() = 0;

View File

@@ -291,7 +291,7 @@ public:
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
// 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.
virtual void StartSection() override;

View File

@@ -148,7 +148,7 @@ public:
virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = NULL ) override;
// 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.
virtual void StartSection() override;

View File

@@ -56,8 +56,6 @@
#include <boost/noncopyable.hpp>
using namespace ::com::sun::star;
class SwDoc;
class SwPaM;
class SfxPoolItem;
@@ -813,7 +811,7 @@ public:
sal_uInt32 nPgLeft;
sal_uInt32 nPgRight;
drawing::TextVerticalAdjust mnVerticalAdjustment;
css::drawing::TextVerticalAdjust mnVerticalAdjustment;
sal_uInt8 mnBorders;
bool mbHasFootnote;
void SetDirection();
@@ -900,7 +898,7 @@ public:
explicit wwSectionManager(SwWW8ImplReader &rReader) : mrReader(rReader), mnDesc(0)
{}
void SetCurrentSectionHasFootnote();
void SetCurrentSectionVerticalAdjustment(const drawing::TextVerticalAdjust nVA);
void SetCurrentSectionVerticalAdjustment(const css::drawing::TextVerticalAdjust nVA);
bool CurrentSectionIsVertical() const;
bool CurrentSectionIsProtected() const;
void PrependedInlineNode(const SwPosition &rPos, const SwNode &rNode);