Kaydet (Commit) 465db7ba authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS residcleanup (1.6.56); FILE MERGED

2007/02/22 21:56:10 pl 1.6.56.1: #i74635# get rid of global ResMgr fallback
üst 5bc6ee79
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: resourceprovider.cxx,v $ * $RCSfile: resourceprovider.cxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 17:52:54 $ * last change: $Author: rt $ $Date: 2007-04-26 08:26:36 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -209,12 +209,12 @@ public: ...@@ -209,12 +209,12 @@ public:
// translate the control id to a resource id // translate the control id to a resource id
sal_Int16 aResId = CtrlIdToResId( aId ); sal_Int16 aResId = CtrlIdToResId( aId );
if ( aResId > -1 ) if ( aResId > -1 )
aResString = String( ResId( aResId, m_ResMgr ) ); aResString = String( ResId( aResId, *m_ResMgr ) );
else else
{ {
aResId = OtherCtrlIdToResId( aId ); aResId = OtherCtrlIdToResId( aId );
if ( aResId > -1 ) if ( aResId > -1 )
aResString = String( ResId( aResId, m_OtherResMgr ) ); aResString = String( ResId( aResId, *m_OtherResMgr ) );
} }
if ( aResId > -1 ) if ( aResId > -1 )
aResOUString = OUString( aResString ); aResOUString = OUString( aResString );
......
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