summaryrefslogtreecommitdiff
path: root/cui/source/options/treeopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r--cui/source/options/treeopt.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index d8909c4bdde1..3673960c57c6 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -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