Kaydet (Commit) 1990c751 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Daft += "\0" triggers assert

...try

GetProcessServiceManager().createInstance("stardiv.UnoControls.ProgressMonitor").addText("foo", "bar", false)

in Basic...

Change-Id: I30318c3e8e671a97b6a3fe2dd9ec03add21794ab
üst 8502d648
...@@ -750,7 +750,6 @@ void ProgressMonitor::impl_rebuildFixedText () ...@@ -750,7 +750,6 @@ void ProgressMonitor::impl_rebuildFixedText ()
aCollectString += pSearchItem->sTopic; aCollectString += pSearchItem->sTopic;
aCollectString += "\n"; aCollectString += "\n";
} }
aCollectString += "\0"; // It's better :-)
m_xTopic_Top->setText ( aCollectString ); m_xTopic_Top->setText ( aCollectString );
} }
...@@ -768,7 +767,6 @@ void ProgressMonitor::impl_rebuildFixedText () ...@@ -768,7 +767,6 @@ void ProgressMonitor::impl_rebuildFixedText ()
aCollectString += pSearchItem->sText; aCollectString += pSearchItem->sText;
aCollectString += "\n"; aCollectString += "\n";
} }
aCollectString += "\0"; // It's better :-)
m_xText_Top->setText ( aCollectString ); m_xText_Top->setText ( aCollectString );
} }
...@@ -788,7 +786,6 @@ void ProgressMonitor::impl_rebuildFixedText () ...@@ -788,7 +786,6 @@ void ProgressMonitor::impl_rebuildFixedText ()
aCollectString += pSearchItem->sTopic; aCollectString += pSearchItem->sTopic;
aCollectString += "\n"; aCollectString += "\n";
} }
aCollectString += "\0"; // It's better :-)
m_xTopic_Bottom->setText ( aCollectString ); m_xTopic_Bottom->setText ( aCollectString );
} }
...@@ -806,7 +803,6 @@ void ProgressMonitor::impl_rebuildFixedText () ...@@ -806,7 +803,6 @@ void ProgressMonitor::impl_rebuildFixedText ()
aCollectString += pSearchItem->sText; aCollectString += pSearchItem->sText;
aCollectString += "\n"; aCollectString += "\n";
} }
aCollectString += "\0"; // It's better :-)
m_xText_Bottom->setText ( aCollectString ); m_xText_Bottom->setText ( aCollectString );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment