[Libreoffice-commits] core.git: 2 commits - vcl/source
Noel Grandin
noel at peralex.com
Mon Aug 12 04:30:40 PDT 2013
vcl/source/filter/graphicfilter.cxx | 42 ++++++++++++++++++------------------
vcl/source/window/menu.cxx | 2 -
2 files changed, 21 insertions(+), 23 deletions(-)
New commits:
commit 00e5ba7fac584b889c06d0250e6fd9d514d50ced
Author: Noel Grandin <noel at peralex.com>
Date: Mon Aug 12 13:29:27 2013 +0200
remove unused local static variable
introduced by myself when doing String->OUString conversions
Change-Id: I5402c1025ee571c965f852e7b2d191e6f7bae819
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 3de8686..848fa4c 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2065,8 +2065,6 @@ void Menu::SetTipHelpText( sal_uInt16 nItemId, const OUString& rStr )
OUString Menu::GetTipHelpText( sal_uInt16 nItemId ) const
{
- static const OUString EMPTY("");
-
MenuItemData* pData = pItemList->GetData( nItemId );
if ( pData )
commit 9ee4a0791de316f15bd9f12d07dd2aebeee2f983
Author: Noel Grandin <noel at peralex.com>
Date: Mon Aug 12 13:24:47 2013 +0200
fix android build after my XubString->OUString changes
Change-Id: Ifeb2d948cd28cb46e209442efb19d71bae4b4490
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index ebb890b..5dd57b4 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -987,27 +987,27 @@ PFilterCall ImpFilterLibCacheEntry::GetImportFunction()
#ifndef DISABLE_DYNLOADING
mpfnImport = (PFilterCall) maLibrary.getFunctionSymbol(OUString(IMPORT_FUNCTION_NAME));
#else
- if( maFiltername.EqualsAscii( "icd" ) )
+ if( maFiltername.equalsAscii( "icd" ) )
mpfnImport = icdGraphicImport;
- else if( maFiltername.EqualsAscii( "idx" ) )
+ else if( maFiltername.equalsAscii( "idx" ) )
mpfnImport = idxGraphicImport;
- else if( maFiltername.EqualsAscii( "ime" ) )
+ else if( maFiltername.equalsAscii( "ime" ) )
mpfnImport = imeGraphicImport;
- else if( maFiltername.EqualsAscii( "ipb" ) )
+ else if( maFiltername.equalsAscii( "ipb" ) )
mpfnImport = ipbGraphicImport;
- else if( maFiltername.EqualsAscii( "ipd" ) )
+ else if( maFiltername.equalsAscii( "ipd" ) )
mpfnImport = ipdGraphicImport;
- else if( maFiltername.EqualsAscii( "ips" ) )
+ else if( maFiltername.equalsAscii( "ips" ) )
mpfnImport = ipsGraphicImport;
- else if( maFiltername.EqualsAscii( "ipt" ) )
+ else if( maFiltername.equalsAscii( "ipt" ) )
mpfnImport = iptGraphicImport;
- else if( maFiltername.EqualsAscii( "ipx" ) )
+ else if( maFiltername.equalsAscii( "ipx" ) )
mpfnImport = ipxGraphicImport;
- else if( maFiltername.EqualsAscii( "ira" ) )
+ else if( maFiltername.equalsAscii( "ira" ) )
mpfnImport = iraGraphicImport;
- else if( maFiltername.EqualsAscii( "itg" ) )
+ else if( maFiltername.equalsAscii( "itg" ) )
mpfnImport = itgGraphicImport;
- else if( maFiltername.EqualsAscii( "iti" ) )
+ else if( maFiltername.equalsAscii( "iti" ) )
mpfnImport = itiGraphicImport;
#endif
}
@@ -2061,25 +2061,25 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const OUString
// Execute dialog in DLL
#else
PFilterCall pFunc = NULL;
- if( aFilterName.EqualsAscii( "egi" ) )
+ if( aFilterName.equalsAscii( "egi" ) )
pFunc = egiGraphicExport;
- else if( aFilterName.EqualsAscii( "eme" ) )
+ else if( aFilterName.equalsAscii( "eme" ) )
pFunc = emeGraphicExport;
- else if( aFilterName.EqualsAscii( "epb" ) )
+ else if( aFilterName.equalsAscii( "epb" ) )
pFunc = epbGraphicExport;
- else if( aFilterName.EqualsAscii( "epg" ) )
+ else if( aFilterName.equalsAscii( "epg" ) )
pFunc = epgGraphicExport;
- else if( aFilterName.EqualsAscii( "epp" ) )
+ else if( aFilterName.equalsAscii( "epp" ) )
pFunc = eppGraphicExport;
- else if( aFilterName.EqualsAscii( "eps" ) )
+ else if( aFilterName.equalsAscii( "eps" ) )
pFunc = epsGraphicExport;
- else if( aFilterName.EqualsAscii( "ept" ) )
+ else if( aFilterName.equalsAscii( "ept" ) )
pFunc = eptGraphicExport;
- else if( aFilterName.EqualsAscii( "era" ) )
+ else if( aFilterName.equalsAscii( "era" ) )
pFunc = eraGraphicExport;
- else if( aFilterName.EqualsAscii( "eti" ) )
+ else if( aFilterName.equalsAscii( "eti" ) )
pFunc = etiGraphicExport;
- else if( aFilterName.EqualsAscii( "exp" ) )
+ else if( aFilterName.equalsAscii( "exp" ) )
pFunc = expGraphicExport;
#endif
if( pFunc )
More information about the Libreoffice-commits
mailing list