summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-12-10 12:05:57 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-12-10 12:05:57 +0100
commitfd5d46a152bd47f71ee2662700a321a4e61bc269 (patch)
treea3b559201713ccedab8341084bdea26a66f7cf9b /forms
parent5005736eb6fca43acc38c0660f7beda4a0359bb7 (diff)
dba33d: merge
Diffstat (limited to 'forms')
-rw-r--r--forms/source/solar/control/navtoolbar.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index f599f196ee32..58f22f0c95e4 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -74,12 +74,6 @@ namespace frm
sLabel += String::CreateFromAscii( " " );
return sLabel;
}
-<<<<<<< local
-
- static bool lcl_isHighContrast( const Color& _rColor )
- {
- return _rColor.IsDark();
- }
::rtl::OUString lcl_getCommandURL( const sal_Int16 _nFormFeature )
{
@@ -112,8 +106,6 @@ namespace frm
OSL_ENSURE( false, "lcl_getCommandURL: unknown FormFeature!" );
return ::rtl::OUString();
}
-=======
->>>>>>> other
}
//=====================================================================
@@ -378,7 +370,7 @@ namespace frm
if ( !m_pImageProvider )
return;
- const bool bIsHighContrast = lcl_isHighContrast( GetBackground().GetColor() );
+ const bool bIsHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode();
const USHORT nItemCount = m_pToolbar->GetItemCount();
@@ -427,15 +419,7 @@ namespace frm
if ( _eSize != m_eImageSize )
{
m_eImageSize = _eSize;
-<<<<<<< local
implUpdateImages();
-=======
- ::std::auto_ptr< SfxImageManager > pImageManager( new SfxImageManager( NULL ) );
- pImageManager->SetImagesForceSize( *m_pToolbar, GetSettings().GetStyleSettings().GetHighContrastMode(), m_eImageSize == eLarge );
-
- // parts of our layout is dependent on the size of our icons
- Resize();
->>>>>>> other
}
}