diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-12-27 14:44:59 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-12-27 15:02:32 +0100 |
commit | 203fbb160534496a8385a5d4b254050514eaf5f6 (patch) | |
tree | 0778fe795d1aa148919efdfa746873ff9142921b /basctl/source | |
parent | 8b29f1eb3b5614b9fde97f12b38faa16141bfdef (diff) |
cppcheck: fix var reassigned
Change-Id: I9db36a231ea846929f8860d089d77d0126242c26
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/dlged/dlgedclip.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedclip.cxx b/basctl/source/dlged/dlgedclip.cxx index 68fbf4fb3896..99b8684bbbd3 100644 --- a/basctl/source/dlged/dlgedclip.cxx +++ b/basctl/source/dlged/dlgedclip.cxx @@ -53,8 +53,6 @@ DlgEdTransferableImpl::~DlgEdTransferableImpl() sal_Bool DlgEdTransferableImpl::compareDataFlavors( const DataFlavor& lFlavor, const DataFlavor& rFlavor ) { - bool bRet = false; - // compare mime content types Reference< uno::XComponentContext > xContext = getProcessComponentContext(); Reference< datatransfer::XMimeContentTypeFactory > @@ -67,7 +65,7 @@ sal_Bool DlgEdTransferableImpl::compareDataFlavors( const DataFlavor& lFlavor, c OUString aLFullMediaType = xLType->getFullMediaType(); OUString aRFullMediaType = xRType->getFullMediaType(); - bRet = aLFullMediaType.equalsIgnoreAsciiCase( aRFullMediaType ); + bool bRet = aLFullMediaType.equalsIgnoreAsciiCase( aRFullMediaType ); return bRet; } |