Kaydet (Commit) 319fcca0 authored tarafından Miklos Vajna's avatar Miklos Vajna

OfaTreeOptionsDialog: no need to use a bool for a single iteration

üst 797caeb0
......@@ -1854,10 +1854,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
AddTabPage( nPageId, sNewTitle, nGroup );
}
}
// private iteration hack for Improvement Program
// hack for OOo 3.1
// should not be in found in any later release
for(bool bOnce = false; bOnce==false; bOnce=true)
do
{
String sNewTitle = C2U("Improvement Program");
{
......@@ -1890,6 +1887,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
AddTabPage( nPageId, sNewTitle, nGroup );
}
}
while (0);
}
// Load and Save options
......
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