summaryrefslogtreecommitdiff
path: root/cui/source/customize/selector.cxx
diff options
context:
space:
mode:
authorFlorian Allmann-Rahn <f.allmann-rahn@gmx.de>2012-04-15 17:50:21 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-04-17 11:32:31 +0200
commit223b99165a249d77c1658eff8ce2262875170ec9 (patch)
tree1fc0e1add230990d9db7aaaef0e905d7d5e45c04 /cui/source/customize/selector.cxx
parentb42ac1ffe55ad3b3445478a35453108cd639929a (diff)
translated or removed german comments in connectivity, cppuhelper and cui
Diffstat (limited to 'cui/source/customize/selector.cxx')
-rw-r--r--cui/source/customize/selector.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 6343692a850c..21b5e61858a3 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -153,7 +153,6 @@ void SvxConfigFunctionListBox_Impl::ClearAll()
String SvxConfigFunctionListBox_Impl::GetHelpText( SvLBoxEntry *pEntry )
{
- // Information zum selektierten Entry aus den Userdaten holen
SvxGroupInfo_Impl *pInfo =
pEntry ? (SvxGroupInfo_Impl*) pEntry->GetUserData(): 0;
@@ -864,21 +863,16 @@ sal_Bool SvxConfigGroupListBox_Impl::Expand( SvLBoxEntry* pParent )
sal_Bool bRet = SvTreeListBox::Expand( pParent );
if ( bRet )
{
- // Wieviele Entries k"onnen angezeigt werden ?
sal_uLong nEntries = GetOutputSizePixel().Height() / GetEntryHeight();
- // Wieviele Kinder sollen angezeigt werden ?
sal_uLong nChildCount = GetVisibleChildCount( pParent );
- // Passen alle Kinder und der parent gleichzeitig in die View ?
if ( nChildCount+1 > nEntries )
{
- // Wenn nicht, wenigstens parent ganz nach oben schieben
MakeVisible( pParent, sal_True );
}
else
{
- // An welcher relativen ViewPosition steht der aufzuklappende parent
SvLBoxEntry *pEntry = GetFirstEntryInView();
sal_uLong nParentPos = 0;
while ( pEntry && pEntry != pParent )
@@ -887,7 +881,6 @@ sal_Bool SvxConfigGroupListBox_Impl::Expand( SvLBoxEntry* pParent )
pEntry = GetNextEntryInView( pEntry );
}
- // Ist unter dem parent noch genug Platz f"ur alle Kinder ?
if ( nParentPos + nChildCount + 1 > nEntries )
ScrollOutputArea( (short)( nEntries - ( nParentPos + nChildCount + 1 ) ) );
}