summaryrefslogtreecommitdiff
path: root/svx/source/core/graphichelper.cxx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /svx/source/core/graphichelper.cxx
parent377ec698afc98a9a098b456f4ae3c694498df6a2 (diff)
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'svx/source/core/graphichelper.cxx')
-rw-r--r--svx/source/core/graphichelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index df3015eaa071..217989f891fd 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -58,7 +58,7 @@ using namespace sfx2;
namespace drawing = com::sun::star::drawing;
-void GraphicHelper::GetPreferedExtension( OUString& rExtension, const Graphic& rGraphic )
+void GraphicHelper::GetPreferredExtension( OUString& rExtension, const Graphic& rGraphic )
{
OUString aExtension = "png";
switch( const_cast<Graphic&>( rGraphic ).GetLink().GetType() )
@@ -113,7 +113,7 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString&
OUString aExtension( aURL.GetExtension() );
if( aExtension.isEmpty() )
{
- GetPreferedExtension( aExtension, rGraphic );
+ GetPreferredExtension( aExtension, rGraphic );
}
aExtension = aExtension.toAsciiLowerCase();
@@ -133,7 +133,7 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString&
if ( USHRT_MAX == nDefaultFilter )
{
// "wrong" extension?
- GetPreferedExtension( aExtension, rGraphic );
+ GetPreferredExtension( aExtension, rGraphic );
for ( sal_uInt16 i = 0; i < nCount; ++i )
if ( aExtension == rGraphicFilter.GetExportFormatShortName( i ).toAsciiLowerCase() )
{