desktop/source/app/crashreport.cxx | 15 ++++++++++----- include/desktop/crashreport.hxx | 2 -- 2 files changed, 10 insertions(+), 7 deletions(-)
New commits: commit 6eb6a249105cbbc48a144d72f2f7c09aeb9bed2e Author: Stephan Bergmann <[email protected]> Date: Thu Feb 25 09:45:17 2016 +0100 loplugin:staticmethods Change-Id: Ia7cdf11b668286360a1701a52263a1e57261cf39 diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 0bde059..49842d4 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 f7f36e3..b1f15fb 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
