From fa9ff01fe4731a5d91da60ec3f5c2cafa7b3f382 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 6 Sep 2011 16:26:15 +0100 Subject: SID_DOC_MODIFIED should (probably) be a SfxBoolItem --- basctl/source/basicide/basides1.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 260181224f94..6a5cd1332c10 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -929,7 +929,6 @@ void BasicIDEShell::GetState(SfxItemSet &rSet) break; case SID_DOC_MODIFIED: { - String aModifiedMarker; sal_Bool bModified = sal_False; if ( pCurWin ) @@ -943,10 +942,7 @@ void BasicIDEShell::GetState(SfxItemSet &rSet) } } - if ( bModified ) - aModifiedMarker = '*'; - - SfxStringItem aItem( SID_DOC_MODIFIED, aModifiedMarker ); + SfxBoolItem aItem(SID_DOC_MODIFIED, bModified); rSet.Put( aItem ); } break; -- cgit