summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-12 11:55:56 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:50 +0200
commit59a5dcb2065c93e2b4bc95207f7f4e362ce3ee08 (patch)
tree5d6e62b896f012acc52ec35ac88d88e126e28241
parentafc15f40f2e6cb7c5f8979f1da65efd375144d99 (diff)
-WaE remove unused variables
Change-Id: I30f8175e35d15c8cce0b2e05de7741bb8feba410
-rw-r--r--vcl/source/gdi/print2.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx
index 4eaa1d6fc9fe..a905cca6c5be 100644
--- a/vcl/source/gdi/print2.cxx
+++ b/vcl/source/gdi/print2.cxx
@@ -554,7 +554,6 @@ static Rectangle ImplCalcActionBounds( const MetaAction& rAct, const OutputDevic
{
const MetaTextArrayAction& rTextAct = static_cast<const MetaTextArrayAction&>(rAct);
const OUString aString( rTextAct.GetText().copy(rTextAct.GetIndex(), rTextAct.GetLen()) );
- const sal_Int32 nLen = aString.getLength();
if( !aString.isEmpty() )
{
@@ -580,7 +579,6 @@ static Rectangle ImplCalcActionBounds( const MetaAction& rAct, const OutputDevic
{
const MetaStretchTextAction& rTextAct = static_cast<const MetaStretchTextAction&>(rAct);
const OUString aString( rTextAct.GetText().copy(rTextAct.GetIndex(), rTextAct.GetLen()) );
- const sal_Int32 nLen = aString.getLength();
// #i16195# Literate copy from TextArray action, the
// semantics for the ImplLayout call are copied from the