summaryrefslogtreecommitdiffstats
path: root/vcl/source/filter/sgvtext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-21 10:21:01 +0200
committerNoel Grandin <noel@peralex.com>2013-10-23 08:29:15 +0200
commit7a06928bcf638e1eeedebc9d53c306a1b852cc9b (patch)
treec0402c2da4e2c522ecf32a0b413128f727cbc0fa /vcl/source/filter/sgvtext.cxx
parentmacosx: add a LSMinimumSystemVersion in Info.plist (diff)
downloadcore-7a06928bcf638e1eeedebc9d53c306a1b852cc9b.tar.gz
core-7a06928bcf638e1eeedebc9d53c306a1b852cc9b.zip
convert code to use OUString::endsWith
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
Diffstat (limited to 'vcl/source/filter/sgvtext.cxx')
-rw-r--r--vcl/source/filter/sgvtext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index 3cadc838804a..113cfff9eb93 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -1134,7 +1134,7 @@ void SgfFontOne::ReadOne( const OString& rID, OString& Dsc )
if ( Dsc.getLength() < 2 || ( Dsc[Dsc.getLength() - 1] !=')' ) )
return;
- i=Dsc.getLength()-2; // hier ist die ')' des SV-Fontnames
+ i = Dsc.getLength()-2; // hier ist die ')' des SV-Fontnames
sal_Int32 j=0;
while ( i > 0 && ( Dsc[i] != '(' ) )
{