diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/syspath.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/doc/syspath.hxx | 5 |
2 files changed, 6 insertions, 4 deletions
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 |