diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-09 01:50:21 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-09 02:01:45 +0900 |
commit | 9b979c8bf13593175391efcab461a146d6f1331e (patch) | |
tree | 84f91da7d847d5e95e502432611ced55e3cb3a29 /sfx2 | |
parent | 62e8dfa072d78c18464db9a43ffc3f7b287032b2 (diff) |
Replaced String by rtl::OUString in SvxMacro
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/config/evntconf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index 5ae485b46b20..4f693a1bb269 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -274,7 +274,7 @@ void PropagateEvent_Impl( SfxObjectShell *pDoc, rtl::OUString aEventName, const void SfxEventConfiguration::ConfigureEvent( rtl::OUString aName, const SvxMacro& rMacro, SfxObjectShell *pDoc ) { boost::scoped_ptr<SvxMacro> pMacro; - if ( rMacro.GetMacName().Len() ) + if ( rMacro.HasMacro() ) pMacro.reset( new SvxMacro( rMacro.GetMacName(), rMacro.GetLibName(), rMacro.GetScriptType() ) ); PropagateEvent_Impl( pDoc ? pDoc : 0, aName, pMacro.get() ); } |