Kaydet (Commit) 81f7aa81 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Resurrect SaneResId in the place where it is still used

Change-Id: I20f751f6b9fdf683566544aed4ca2ad877abc253
üst 56ca1b76
...@@ -30,7 +30,15 @@ ...@@ -30,7 +30,15 @@
#include <algorithm> #include <algorithm>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
ResId SaneResId( sal_uInt32 ); namespace {
ResId SaneResId( sal_uInt32 nID )
{
static ResMgr* pResMgr = ResMgr::CreateResMgr( "scn" );
return ResId( nID, *pResMgr );
}
}
/*********************************************************************** /***********************************************************************
* *
......
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