svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 2 -- svx/source/sidebar/tools/ValueSetWithTextControl.cxx | 3 --- 2 files changed, 5 deletions(-)
New commits: commit bee150931d4913edbc0f8cdc3854c2699ebdde46 Author: Tor Lillqvist <t...@iki.fi> Date: Mon May 20 14:35:14 2013 +0300 WaE: macro is not used Change-Id: I1f88819c85f0c0539bfa3b48ffc215e279c007d0 diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx index df1bc7d..91a1848 100644 --- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx +++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx @@ -48,8 +48,6 @@ using namespace com::sun::star::container; using namespace com::sun::star::style; using rtl::OUString; -#define C2U(cChar) OUString::createFromAscii(cChar) - namespace svx { namespace sidebar { static const sal_Char cValue[] = "Value"; commit b9c661e2bb4c521e5e71150f9b52272eb05aa9b7 Author: Tor Lillqvist <t...@iki.fi> Date: Mon May 20 14:34:47 2013 +0300 Fix warnings: unused variables [loplugin] Change-Id: Id5c62c21f65165085616390d24605efe35ca9924 diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index a3aafaa..fdba30f 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -1070,7 +1070,6 @@ void PosSizePropertyPanel::executePosX() lX = -lX; long lY = GetCoreValue( *mpMtrPosY, mePoolUnit ); - Size aPageSize; Rectangle aRect; maRect = mpView->GetAllMarkedRect(); aRect = mpView->GetAllMarkedRect(); @@ -1098,7 +1097,6 @@ void PosSizePropertyPanel::executePosY() long lX = GetCoreValue( *mpMtrPosX, mePoolUnit ); long lY = GetCoreValue( *mpMtrPosY, mePoolUnit ); - Size aPageSize; Rectangle aRect; maRect = mpView->GetAllMarkedRect(); aRect = mpView->GetAllMarkedRect(); diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx index 3489a53..df1bc7d 100644 --- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx +++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx @@ -344,7 +344,6 @@ void SvxNumValueSet2::UserDraw( const UserDrawEvent& rUDEvt ) pDev->DrawOutDev( aRect.TopLeft(), aRectSize, aOrgRect.TopLeft(), aRectSize, *pVDev ); - const OUString sValue(C2U(cValue)); Point aStart(aBLPos.X() + nRectWidth / 9,0); if ( nItemId == DEFAULT_NONE) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits