sfx2/source/doc/syspath.cxx | 5 ++++- sfx2/source/doc/syspath.hxx | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-)
New commits: commit 58281dda29a6267736893ae83b66213e6a4fa1ba Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Nov 13 09:34:45 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Nov 13 10:50:19 2019 +0100 SystemPath does not need to be a class Change-Id: I02adb188ae75bd721d8e80cf0df11fde40a11d9b Reviewed-on: https://gerrit.libreoffice.org/82566 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/doc/syspath.cxx b/sfx2/source/doc/syspath.cxx index 23885aade2e6..a9c691dd0d10 100644 --- a/sfx2/source/doc/syspath.cxx +++ b/sfx2/source/doc/syspath.cxx @@ -20,7 +20,9 @@ #include "syspath.hxx" #include "syspathw32.hxx" -bool SystemPath::GetUserTemplateLocation( sal_Unicode* pFolder, int nSize ) +namespace SystemPath +{ +bool GetUserTemplateLocation( sal_Unicode* pFolder, int nSize ) { #ifdef _WIN32 return ::GetUserTemplateLocation( pFolder, nSize ); @@ -30,5 +32,6 @@ bool SystemPath::GetUserTemplateLocation( sal_Unicode* pFolder, int nSize ) return false; #endif } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/syspath.hxx b/sfx2/source/doc/syspath.hxx index c5b1ab3039b3..d355a3e824c9 100644 --- a/sfx2/source/doc/syspath.hxx +++ b/sfx2/source/doc/syspath.hxx @@ -22,10 +22,9 @@ #include <sfx2/dllapi.h> -class SystemPath +namespace SystemPath { -public: - static bool GetUserTemplateLocation(sal_Unicode*, int nSize); + bool GetUserTemplateLocation(sal_Unicode*, int nSize); }; #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits