summaryrefslogtreecommitdiff
path: root/vcl/win/source/gdi/winlayout.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-05-22 15:30:36 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-05-22 15:30:36 +0300
commitd664f279602ae6ea9275b222f3f33634aeec97b3 (patch)
treebe0b93453018e1ba4b35626b19e40b34074162b6 /vcl/win/source/gdi/winlayout.cxx
parentd19421db942cd08cc378e1b4dfea583f9bd5cd79 (diff)
Revert "fdo#62846 incorrect glyph to Unicode mappings in PDFs"
Breaks the build for Windows: vcl/win/source/gdi/winlayout.cxx(1897) : error C2065: 'nCharPos' : undeclared identifier This reverts commit 0b70e4ea4fcf0adccdfdf4886e5cc45d46479692.
Diffstat (limited to 'vcl/win/source/gdi/winlayout.cxx')
-rw-r--r--vcl/win/source/gdi/winlayout.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 60858718edfc..41271b02c954 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -594,16 +594,6 @@ int SimpleWinLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos,
break;
}
- if( pCharIndexes )
- {
- int nCharPos;
- if( !mpGlyphs2Chars )
- nCharPos = nStart + mnMinCharPos;
- else
- nCharPos = mpGlyphs2Chars[nStart];
- *(pCharIndexes++) = nCharPos;
- }
-
return nCount;
}
@@ -1892,10 +1882,6 @@ int UniscribeLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos,
++nStart;
nStartx8 = (nStart << 8) + nSubIter;
-
- if( pCharPosAry )
- *(pCharPosAry++) = nCharPos;
-
return nCount;
}