diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-11 15:52:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-11 15:52:05 +0000 |
commit | b96434c98eaae70a62e1fa3333c3579b56126a48 (patch) | |
tree | af7b7ad2efd3b817f2f33eb126c0c6f788e8e61a /lotuswordpro | |
parent | 476f9f9a0c149fece23ec56f1a9ae05acaef9aaf (diff) |
WaE: unused variables
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpgrfobj.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx index 4464c9816400..bfb6fa43b7d2 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.cxx +++ b/lotuswordpro/source/filter/lwpgrfobj.cxx @@ -102,7 +102,7 @@ LwpGraphicObject::~LwpGraphicObject() void LwpGraphicObject::Read() { LwpGraphicOleObject::Read(); - sal_uInt16 disksize = m_pObjStrm->QuickReaduInt16(); + m_pObjStrm->QuickReaduInt16(); //disksize sal_uInt16 strsize = m_pObjStrm->QuickReaduInt16(); if (strsize<AFID_MAX_FILE_FORMAT_SIZE) { @@ -133,7 +133,7 @@ void LwpGraphicObject::Read() } // end add } - disksize = m_pObjStrm->QuickReaduInt16(); + m_pObjStrm->QuickReaduInt16(); //disksize strsize = m_pObjStrm->QuickReaduInt16(); if (strsize<AFID_MAX_FILE_FORMAT_SIZE) { @@ -322,18 +322,13 @@ void LwpGraphicObject::GetRect(INT32& nLeft, INT32& nTop, INT32& nRight, INT32& if (pGeometry) { - LwpPoint aOrigin = pGeometry->GetOrigin(); -// 2005.6 -//frame width/height are not width/height of a chart -// sal_Int32 nWidth = pGeometry->GetWidth(); -// sal_Int32 nHeight = pGeometry->GetHeight(); double fWidth =0; double fHeight = 0; GetGrafScaledSize(fWidth, fHeight); sal_Int32 nWidth = fWidth * UNITS_PER_INCH /CM_PER_INCH; sal_Int32 nHeight = fHeight * UNITS_PER_INCH /CM_PER_INCH; -//end + nLeft = pLayout->GetMarginsValue(MARGIN_LEFT) * UNITS_PER_INCH /CM_PER_INCH; nTop = pLayout->GetMarginsValue(MARGIN_TOP)* UNITS_PER_INCH /CM_PER_INCH; nRight = nLeft+nWidth; |