diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-12-29 09:52:22 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-12-29 10:52:56 +0100 |
commit | f7f47366ea78a71853fcaca2fa402bef667d9cce (patch) | |
tree | d771a6f5992a35c8ddd84a35e2ba31fcb6190cc1 /svx/source/svdraw/svdibrow.cxx | |
parent | d31993e9c08c12c8d6bc27557feb17405ec580b4 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'svx/source/svdraw/svdibrow.cxx')
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index ba52976f9f52..550493280b8a 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -691,14 +691,12 @@ bool IsItemIneffective(USHORT nWhich, const SfxItemSet* pSet, USHORT& rIndent) bool bTileTRUE = false; bool bTileFALSE = false; bool bStretchTRUE = false; - bool bStretchFALSE = false; if (ImpGetItem(*pSet,XATTR_FILLBMP_TILE,pItem)) { bTileTRUE=((const XFillBmpTileItem*)pItem)->GetValue(); bTileFALSE=!bTileTRUE; } if (ImpGetItem(*pSet,XATTR_FILLBMP_STRETCH,pItem)) { bStretchTRUE=((const XFillBmpStretchItem*)pItem)->GetValue(); - bStretchFALSE=!bStretchTRUE; } // Stretch nicht anwaehlbar, wenn Tile=TRUE if (nWhich==XATTR_FILLBMP_STRETCH) return bTileTRUE; @@ -1198,7 +1196,6 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse) if (nLongVal>pEntry->nMax) nLongVal=pEntry->nMax; if (nLongVal<pEntry->nMin) nLongVal=pEntry->nMin; } - bool bPair = false; bool bPairX = true; bool bPairY = false; USHORT nSepLen=1; @@ -1209,7 +1206,6 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse) if (nPos==STRING_NOTFOUND) nPos=aNewText.Search(sal_Unicode(' ')); if (nPos==STRING_NOTFOUND) { nPos=aNewText.SearchAscii(".."); if (nPos!=STRING_NOTFOUND) nSepLen=2; } if (nPos!=STRING_NOTFOUND) { - bPair = true; bPairX=nPos>0; XubString s(aNewText); s.Erase(0,nPos+nSepLen); |