summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 12:23:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 07:26:27 +0100
commita2751c0795cdac9d78f8919aab319a418b6e0bbc (patch)
tree1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /ucb
parenta04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff)
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755 Reviewed-on: https://gerrit.libreoffice.org/63434 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/bc.cxx2
-rw-r--r--ucb/source/ucp/file/filtask.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index 3b65f7117850..952badaab9da 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -550,7 +550,7 @@ BaseContent::removeProperty( const OUString& Name )
Sequence< ContentInfo > SAL_CALL
BaseContent::queryCreatableContentsInfo()
{
- return m_pMyShell->queryCreatableContentsInfo();
+ return TaskManager::queryCreatableContentsInfo();
}
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx
index 75e1aa70a876..8de0bae31198 100644
--- a/ucb/source/ucp/file/filtask.hxx
+++ b/ucb/source/ucp/file/filtask.hxx
@@ -486,7 +486,7 @@ namespace fileaccess
void insertDefaultProperties( const OUString& aUnqPath );
- css::uno::Sequence< css::ucb::ContentInfo >
+ static css::uno::Sequence< css::ucb::ContentInfo >
queryCreatableContentsInfo();
@@ -614,7 +614,7 @@ namespace fileaccess
* osl::DirectoryItem::getFileStatus fills the required fields.
*/
- void
+ static void
getMaskFromProperties(
sal_Int32& n_Mask,
const css::uno::Sequence< css::beans::Property >& seq );