INTEGRATION: CWS residcleanup (1.49.56); FILE MERGED
2007/03/04 17:03:10 pl 1.49.56.1: #i73635# ResId cleanup
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
*
|
||||
* $RCSfile: srcview.cxx,v $
|
||||
*
|
||||
* $Revision: 1.49 $
|
||||
* $Revision: 1.50 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2007-01-25 11:46:04 $
|
||||
* last change: $Author: rt $ $Date: 2007-04-26 09:21:28 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
@@ -675,7 +675,7 @@ void SwSrcView::GetState(SfxItemSet& rSet)
|
||||
nCount = rMgr.GetUndoActionCount();
|
||||
if(nCount)
|
||||
{
|
||||
String aStr(ResId( STR_UNDO, SFX_APP()->GetSfxResManager() ));;
|
||||
String aStr(ResId( STR_UNDO, *SFX_APP()->GetSfxResManager() ));;
|
||||
aStr += rMgr.GetUndoActionComment(--nCount);
|
||||
rSet.Put(SfxStringItem(nWhich, aStr));
|
||||
}
|
||||
@@ -687,7 +687,7 @@ void SwSrcView::GetState(SfxItemSet& rSet)
|
||||
nCount = rMgr.GetRedoActionCount();
|
||||
if(nCount)
|
||||
{
|
||||
String aStr(ResId( STR_REDO, SFX_APP()->GetSfxResManager() ));;
|
||||
String aStr(ResId( STR_REDO, *SFX_APP()->GetSfxResManager() ));;
|
||||
aStr += rMgr.GetRedoActionComment(--nCount);
|
||||
rSet.Put(SfxStringItem(nWhich,aStr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user