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 @@
#include "tools/string.hxx"
#include <sfx2/app.hxx>
#ifndef DISABLE_DYNLOADING
//copy from core\bastyp\swtypes.cxx
String aEmptyStr; // constant strings
ResMgr* pSwResMgr=0;
#endif
ResMgr* SwDialogsResMgr::GetResMgr()
{
static ResMgr* pSwResMgr=0;
if ( !pSwResMgr )
{
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