diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 11:44:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 14:00:59 +0200 |
commit | 2fb2d6efdb25f718ddd65709697bc68d81815a59 (patch) | |
tree | a73b80fb06b773204613b1446256355baea01b51 /sot | |
parent | 3b9d2501b390dfaec7d0a189742fb3305f3742d9 (diff) |
loplugin:oncevar in scaddins..sot
Change-Id: I657a131374b9f1153135e00ed429889518b91427
Reviewed-on: https://gerrit.libreoffice.org/39258
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 67c7582a3b05..25f3d60e4150 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -1716,7 +1716,6 @@ void UCBStorage_Impl::ReadContent() aProps[1] = "IsFolder"; aProps[2] = "MediaType"; aProps[3] = "Size"; - ::ucbhelper::ResultSetInclude eInclude = ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS; try { @@ -1724,7 +1723,7 @@ void UCBStorage_Impl::ReadContent() if ( !m_pContent ) return; - Reference< XResultSet > xResultSet = m_pContent->createCursor( aProps, eInclude ); + Reference< XResultSet > xResultSet = m_pContent->createCursor( aProps, ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ); Reference< XRow > xRow( xResultSet, UNO_QUERY ); if ( xResultSet.is() ) { |