diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/appl/shutdowniconw32.cxx | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index a65f087d9e26..e3cfa2494adf 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -61,6 +61,8 @@ static OUString SfxDdeServiceName_Impl( const OUString& sIn ) return sReturn.makeStringAndClear(); } +namespace { + class ImplDdeService : public DdeService { public: @@ -74,9 +76,6 @@ public: virtual bool SysTopicExecute( const OUString* pStr ); }; - -namespace -{ bool lcl_IsDocument( const OUString& rContent ) { using namespace com::sun::star; diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index c056db166f51..2540b2c79eb5 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -80,6 +80,8 @@ static HMENU popupMenu = nullptr; static void OnMeasureItem(HWND hwnd, LPMEASUREITEMSTRUCT lpmis); static void OnDrawItem(HWND hwnd, LPDRAWITEMSTRUCT lpdis); +namespace { + typedef struct tagMYITEM { OUString text; @@ -87,6 +89,7 @@ typedef struct tagMYITEM UINT iconId; } MYITEM; +} static void addMenuItem( HMENU hMenu, UINT id, UINT iconId, const OUString& text, int& pos, bool bOwnerdraw, const OUString& module ) { |