summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-24 16:40:38 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-24 16:40:58 +0100
commit4df49447134a08b58a579f5bb65c6e1055b855bd (patch)
treeb66d2c6fa14d8123fffd892f7cb7a93b8a88ce64 /sd/source/ui/func
parentd605a49f84e0b8ae25ff7dd42399d3a31747b057 (diff)
Some cppcheck cleaning in sd
Change-Id: I48b86bf206808e1d19343622b640c80b61b40a48
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/fulinend.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/func/fulinend.cxx b/sd/source/ui/func/fulinend.cxx
index e8c053a21696..14b2b51f33f4 100644
--- a/sd/source/ui/func/fulinend.cxx
+++ b/sd/source/ui/func/fulinend.cxx
@@ -99,7 +99,6 @@ void FuLineEnd::DoExecute( SfxRequest& )
SdrObject::Free( pConvPolyObj );
XLineEndListRef pLineEndList = mpDoc->GetLineEndList();
- XLineEndEntry* pEntry;
String aNewName( SdResId( STR_LINEEND ) );
String aDesc( SdResId( STR_DESC_LINEEND ) );
@@ -142,7 +141,7 @@ void FuLineEnd::DoExecute( SfxRequest& )
if( bDifferent )
{
- pEntry = new XLineEndEntry( aPolyPolygon, aName );
+ XLineEndEntry* pEntry = new XLineEndEntry( aPolyPolygon, aName );
pLineEndList->Insert( pEntry, LIST_APPEND);
}
else