diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 09:45:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 09:45:17 +0100 |
commit | 6eb6a249105cbbc48a144d72f2f7c09aeb9bed2e (patch) | |
tree | e32ab1ba838176b75f2ec7c04a7a7b3498e25b92 | |
parent | 6afec8e461aee826664347adf234a81228a69a45 (diff) |
loplugin:staticmethods
Change-Id: Ia7cdf11b668286360a1701a52263a1e57261cf39
-rw-r--r-- | desktop/source/app/crashreport.cxx | 15 | ||||
-rw-r--r-- | include/desktop/crashreport.hxx | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 0bde05979a72..49842d43fc83 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -15,6 +15,16 @@ osl::Mutex CrashReporter::maMutex; #if HAVE_FEATURE_BREAKPAD + +namespace { + +const char* CrashReporter::getIniFileName() +{ + return "/tmp/dump.ini"; +} + +} + void CrashReporter::AddKeyValue(const OUString& rKey, const OUString& rValue) { osl::MutexGuard aGuard(maMutex); @@ -25,9 +35,4 @@ void CrashReporter::AddKeyValue(const OUString& rKey, const OUString& rValue) } #endif -const char* CrashReporter::getIniFileName() -{ - return "/tmp/dump.ini"; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx index f7f36e3494f5..b1f15fb731b4 100644 --- a/include/desktop/crashreport.hxx +++ b/include/desktop/crashreport.hxx @@ -32,8 +32,6 @@ class DESKTOP_DLLPUBLIC CrashReporter public: static void AddKeyValue(const OUString& rKey, const OUString& rValue); - static const char* getIniFileName(); - private: static std::map<OUString, OUString> maValueMap; |