diff options
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); |