summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/propctrlr/browserline.cxx21
-rw-r--r--wizards/source/formwizard/Language.xba2
2 files changed, 4 insertions, 19 deletions
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx
index ad43e61ca7f9..894a462a8108 100644
--- a/extensions/source/propctrlr/browserline.cxx
+++ b/extensions/source/propctrlr/browserline.cxx
@@ -412,7 +412,9 @@ namespace pcr
return *rpButton;
}
- //------------------------------------------------------------------
+/**
+ * @param _out_rHCImage is unused now as there are no highcontrast variants
+ */
void OBrowserLine::impl_getImagesFromURL_nothrow( const ::rtl::OUString& _rImageURL, Image& _out_rImage, Image& _out_rHCImage )
{
try
@@ -426,23 +428,6 @@ namespace pcr
Reference< XGraphic > xGraphic( xGraphicProvider->queryGraphic( aMediaProperties ), UNO_QUERY_THROW );
_out_rImage = _out_rHCImage = Image( xGraphic );
-
- // see if we find an HC version beside the normal graphic
- INetURLObject aURL( _rImageURL );
- ::rtl::OUString sBaseName( aURL.getBase() );
- aURL.setBase( sBaseName + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "_hc" ) ) );
- ::rtl::OUString sHCImageURL( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
-
- Reference< XGraphic > xHCGraphic;
- try
- {
- aMediaProperties[0].Value <<= sHCImageURL;
- xHCGraphic = xGraphicProvider->queryGraphic( aMediaProperties );
- }
- catch( const Exception& ) { }
-
- if ( xHCGraphic.is() )
- _out_rHCImage = Image( xHCGraphic );
}
catch( const Exception& )
{
diff --git a/wizards/source/formwizard/Language.xba b/wizards/source/formwizard/Language.xba
index 5a2dcb1c67fe..2f2b7e3ec11f 100644
--- a/wizards/source/formwizard/Language.xba
+++ b/wizards/source/formwizard/Language.xba
@@ -112,8 +112,8 @@ Dim slblFields as String
.optAlign2.Label = GetResText(RID_FORM + 34)
.optAlign0.State = 1
+ //FIXME: Remove this unused FNameAddOn through the file
FNameAddOn = &quot;&quot;
- If isHighContrast(DlgFormDB.getPeer) Then FNameAddOn = &quot;_hc&quot;
IDArray = Array(36, 37, 40, 38, 39)
For i = 1 To 5