summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpframelayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpframelayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpframelayout.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx
index 553f907ca742..0a01e9bcccc9 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -592,8 +592,6 @@ void LwpFrame::ParseAnchorType(XFFrame *pXFFrame)
//set position
double fXOffset = 0;
double fYOffset = 0;
- //page number
- sal_uInt16 nPageNum = 0;
//set anchor type
enumXFAnchor eAnchor = enumXFAnchorNone;
@@ -705,7 +703,7 @@ void LwpFrame::ParseAnchorType(XFFrame *pXFFrame)
pXFFrame->SetX(fXOffset);
pXFFrame->SetY(fYOffset);
- pXFFrame->SetAnchorPage(nPageNum);
+ pXFFrame->SetAnchorPage(0);
pXFFrame->SetAnchorType(eAnchor);
}