summaryrefslogtreecommitdiff
path: root/cui/source/customize/macropg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 22:59:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-27 08:00:32 +0200
commit9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (patch)
tree345951559eba7aca1ead5ea9ff37450792a6833e /cui/source/customize/macropg.cxx
parenta6050c32f30796743f9ab9b2a5c793ced9b8f747 (diff)
Clean up sEmpty
Change-Id: If1b2bfe308caa2bce92e73d2c5c86ee273faed93
Diffstat (limited to 'cui/source/customize/macropg.cxx')
-rw-r--r--cui/source/customize/macropg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 6f58102bbdc4..63381478222d 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -398,14 +398,13 @@ void _SvxMacroTabPage::Reset( const SfxItemSet* )
try
{
- OUString sEmpty;
if( m_xAppEvents.is() )
{
EventsHash::iterator h_itEnd = m_appEventsHash.end();
EventsHash::iterator h_it = m_appEventsHash.begin();
for ( ; h_it != h_itEnd; ++h_it )
{
- h_it->second.second = sEmpty;
+ h_it->second.second.clear();
}
}
if( m_xDocEvents.is() && bDocModified )
@@ -414,7 +413,7 @@ void _SvxMacroTabPage::Reset( const SfxItemSet* )
EventsHash::iterator h_it = m_docEventsHash.begin();
for ( ; h_it != h_itEnd; ++h_it )
{
- h_it->second.second = sEmpty;
+ h_it->second.second.clear();
}
// if we have a valid XModifiable (in the case of doc events)
// call setModified(true)