diff options
Diffstat (limited to 'shell/source/win32/spsupp/COMOpenDocuments.cxx')
-rw-r--r-- | shell/source/win32/spsupp/COMOpenDocuments.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/spsupp/COMOpenDocuments.cxx b/shell/source/win32/spsupp/COMOpenDocuments.cxx index 829d1923fe5f..c4818263b832 100644 --- a/shell/source/win32/spsupp/COMOpenDocuments.cxx +++ b/shell/source/win32/spsupp/COMOpenDocuments.cxx @@ -17,7 +17,7 @@ #include <stdio.h> // Display confirmation dialog, return false on negative answer -bool SecurityWarning(const wchar_t* sProgram, const wchar_t* sDocument) +static bool SecurityWarning(const wchar_t* sProgram, const wchar_t* sDocument) { // TODO: change wording (currently taken from MS Office), use LO localization wchar_t sBuf[65536]; @@ -30,7 +30,7 @@ bool SecurityWarning(const wchar_t* sProgram, const wchar_t* sDocument) } // Returns S_OK if successful -HRESULT LOStart(const wchar_t* sModeArg, const wchar_t* sFilePath, bool bDoSecurityWarning) +static HRESULT LOStart(const wchar_t* sModeArg, const wchar_t* sFilePath, bool bDoSecurityWarning) { const wchar_t* sProgram = GetLOPath(); if (bDoSecurityWarning && !SecurityWarning(sProgram, sFilePath)) |