summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-15 22:31:17 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-15 23:30:31 +0200
commit922ae90234ccdd3c82836d4f7ad5dd3d5ebb9c71 (patch)
tree708fb4eb11228f055809d2fce2ff91ad87f0106b /sfx2
parentc806f9042339c7d7634899f886c5635564add33d (diff)
sfx2: bring back resmgr
that was a bit too much removal partial revert of fd1e9bbc1ebd5040b092aad1d4a68041286fabda Change-Id: Iabced82fa6aedd25aacf242cafa384e83fd539cb
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 9390ee9bcaf5..274c12b79f10 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -878,6 +878,13 @@ OUString ChooseMacro( const Reference< XModel >& rxLimitToDocument, bool bChoose
#endif
+ResMgr* SfxApplication::GetOffResManager_Impl()
+{
+ if ( !pAppData_Impl->pOfaResMgr )
+ pAppData_Impl->pOfaResMgr = ResMgr::CreateResMgr( "ofa");
+ return pAppData_Impl->pOfaResMgr;
+}
+
namespace
{
#ifndef DISABLE_SCRIPTING