From 6eb6a249105cbbc48a144d72f2f7c09aeb9bed2e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 25 Feb 2016 09:45:17 +0100 Subject: loplugin:staticmethods Change-Id: Ia7cdf11b668286360a1701a52263a1e57261cf39 --- desktop/source/app/crashreport.cxx | 15 ++++++++++----- 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 maValueMap; -- cgit