summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/contnr/svimpbox.cxx6
-rw-r--r--svtools/source/inc/svimpbox.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 1a13a08dfbed..f849ee96a8c6 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -1457,8 +1457,8 @@ long SvImpLBox::GetEntryLine( SvTreeListEntry* pEntry ) const
void SvImpLBox::SetEntryHeight()
{
- SetNodeBmpYOffset( GetExpandedNodeBmp() );
- SetNodeBmpYOffset( GetCollapsedNodeBmp() );
+ SetNodeBmpWidth( GetExpandedNodeBmp() );
+ SetNodeBmpWidth( GetCollapsedNodeBmp() );
if(!pView->HasViewData()) // are we within the Clear?
{
Size aSize = pView->Control::GetOutputSizePixel();
@@ -1565,7 +1565,7 @@ void SvImpLBox::CollapsingEntry( SvTreeListEntry* pEntry )
}
-void SvImpLBox::SetNodeBmpYOffset( const Image& rBmp )
+void SvImpLBox::SetNodeBmpWidth( const Image& rBmp )
{
const Size aSize( rBmp.GetSizePixel() );
nNodeBmpWidth = aSize.Width();
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index 09d896ba8135..10d8287d4fdb 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -161,7 +161,7 @@ private:
DECL_LINK( ScrollLeftRightHdl, ScrollBar*, void );
DECL_LINK( EndScrollHdl, ScrollBar*, void );
- void SetNodeBmpYOffset( const Image& );
+ void SetNodeBmpWidth( const Image& );
void SetNodeBmpTabDistance();
// Selection-Engine
@@ -346,13 +346,13 @@ inline Image& SvImpLBox::implGetImageLocation( const ImageType _eType )
inline void SvImpLBox::SetExpandedNodeBmp( const Image& rImg )
{
implGetImageLocation( ImageType::NodeExpanded ) = rImg;
- SetNodeBmpYOffset( rImg );
+ SetNodeBmpWidth( rImg );
}
inline void SvImpLBox::SetCollapsedNodeBmp( const Image& rImg )
{
implGetImageLocation( ImageType::NodeCollapsed ) = rImg;
- SetNodeBmpYOffset( rImg );
+ SetNodeBmpWidth( rImg );
}
inline const Image& SvImpLBox::GetDontKnowNodeBmp( )