summaryrefslogtreecommitdiff
path: root/sot/source/base
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-03 21:10:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-05 21:18:05 +0200
commiteaa689639fb3e02c204ab3fa132f79aed5b598c7 (patch)
tree18cba6c9811eb68919dcc5385194894b4c1d9bcd /sot/source/base
parent943a73ac8450fc0afc9792945a8f4428e903d9da (diff)
Improved loplugin:cstylecast to reference types: sot
Change-Id: I14135642998ef08dfb4aa4c7e10b327cf8d33de7
Diffstat (limited to 'sot/source/base')
-rw-r--r--sot/source/base/formats.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx
index ad0a0c0a5525..b2fde5323c06 100644
--- a/sot/source/base/formats.cxx
+++ b/sot/source/base/formats.cxx
@@ -1321,8 +1321,8 @@ SotDestinationEntry_Impl const aDestinationArray[] =
bool IsFormatSupported( const DataFlavorExVector& rDataFlavorExVector, SotClipboardFormatId nId )
{
- DataFlavorExVector::iterator aIter( ( (DataFlavorExVector&) rDataFlavorExVector ).begin() );
- DataFlavorExVector::iterator aEnd( ( (DataFlavorExVector&) rDataFlavorExVector ).end() );
+ auto aIter( rDataFlavorExVector.begin() );
+ auto aEnd( rDataFlavorExVector.end() );
bool bRet = false;
while( aIter != aEnd )