diff options
author | Marc-André Laverdière-Papineau <marc-andre@atc.tcs.com> | 2012-01-15 18:24:58 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-18 20:02:19 -0500 |
commit | 05a8ecca55d96b823348fa390482be6cfee64f69 (patch) | |
tree | c7deb8edaac63f4edca00c281ecacfa78ee96ae9 /writerperfect | |
parent | 225647779959d24cfdaea62968f518cc52533a90 (diff) |
removed some dead code
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/PageSpan.cxx | 16 | ||||
-rw-r--r-- | writerperfect/source/filter/PageSpan.hxx | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/writerperfect/source/filter/PageSpan.cxx b/writerperfect/source/filter/PageSpan.cxx index cb7da9729194..944764e5a25b 100644 --- a/writerperfect/source/filter/PageSpan.cxx +++ b/writerperfect/source/filter/PageSpan.cxx @@ -91,22 +91,6 @@ int PageSpan::getSpan() const return 0; // should never happen } -double PageSpan::getMarginLeft() const -{ - if (mxPropList["fo:margin-left"]) - return mxPropList["fo:margin-left"]->getDouble(); - - return 0.0; -} - -double PageSpan::getMarginRight() const -{ - if (mxPropList["fo:margin-right"]) - return mxPropList["fo:margin-right"]->getDouble(); - - return 0.0; -} - void PageSpan::setHeaderContent(std::vector<DocumentElement *> * pHeaderContent) { if (mpHeaderContent) diff --git a/writerperfect/source/filter/PageSpan.hxx b/writerperfect/source/filter/PageSpan.hxx index c3d5cc16dd28..9172937f0fd3 100644 --- a/writerperfect/source/filter/PageSpan.hxx +++ b/writerperfect/source/filter/PageSpan.hxx @@ -41,8 +41,6 @@ public: void writePageLayout(const int iNum, OdfDocumentHandler *pHandler) const; void writeMasterPages(const int iStartingNum, const int iPageLayoutNum, const bool bLastPageSpan, OdfDocumentHandler *pHandler) const; int getSpan() const; - double getMarginLeft() const; - double getMarginRight() const; void setHeaderContent(std::vector<DocumentElement *> * pHeaderContent); void setFooterContent(std::vector<DocumentElement *> * pFooterContent); |