summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/crashreport.cxx15
-rw-r--r--include/desktop/crashreport.hxx2
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;