Kaydet (Commit) f5ba1a09 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

De-duplicate aEmptyStr and pSwResMgr

Change-Id: I129754d1180ea15d815b2b4d2533f911f10116c3
üst fc6fa71e
...@@ -30,13 +30,15 @@ ...@@ -30,13 +30,15 @@
#include "tools/string.hxx" #include "tools/string.hxx"
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
#ifndef DISABLE_DYNLOADING
//copy from core\bastyp\swtypes.cxx //copy from core\bastyp\swtypes.cxx
String aEmptyStr; // constant strings String aEmptyStr; // constant strings
#endif
ResMgr* pSwResMgr=0;
ResMgr* SwDialogsResMgr::GetResMgr() ResMgr* SwDialogsResMgr::GetResMgr()
{ {
static ResMgr* pSwResMgr=0;
if ( !pSwResMgr ) if ( !pSwResMgr )
{ {
pSwResMgr = SfxApplication::CreateResManager( "sw" ); pSwResMgr = SfxApplication::CreateResManager( "sw" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment