summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-06 16:26:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-06 16:28:27 +0100
commitfa9ff01fe4731a5d91da60ec3f5c2cafa7b3f382 (patch)
treee50a3098cc50b8318456c8076e5baab0fce29623 /basctl
parent81c5bd4bd2a6104c3d1dd1c3b61206aad26d29cd (diff)
SID_DOC_MODIFIED should (probably) be a SfxBoolItem
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx6
1 files changed, 1 insertions, 5 deletions
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;