summaryrefslogtreecommitdiff
path: root/writerperfect/source
diff options
context:
space:
mode:
authorMarc-André Laverdière-Papineau <marc-andre@atc.tcs.com>2012-01-15 18:24:58 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-18 20:02:19 -0500
commit05a8ecca55d96b823348fa390482be6cfee64f69 (patch)
treec7deb8edaac63f4edca00c281ecacfa78ee96ae9 /writerperfect/source
parent225647779959d24cfdaea62968f518cc52533a90 (diff)
removed some dead code
Diffstat (limited to 'writerperfect/source')
-rw-r--r--writerperfect/source/filter/PageSpan.cxx16
-rw-r--r--writerperfect/source/filter/PageSpan.hxx2
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);