diff options
author | Tim Allison <tallison@apache.org> | 2017-01-20 12:10:29 +0000 |
---|---|---|
committer | Tim Allison <tallison@apache.org> | 2017-01-20 12:10:29 +0000 |
commit | c2d7fba807d5fe3c1ddce6aaf3ba6581d8b65ac8 (patch) | |
tree | 30e551fc6135d1bd2e867091b9e5c04107e7a2b8 /src | |
parent | 7ac29f94cfb5455a857c22c23d610bcf78d58447 (diff) | |
download | poi-c2d7fba807d5fe3c1ddce6aaf3ba6581d8b65ac8.tar.gz poi-c2d7fba807d5fe3c1ddce6aaf3ba6581d8b65ac8.zip |
Bug 60608 -- improve charset handling in Hwmf -- remove deprecated drawString(String...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java b/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java index 2716696dee..f292313185 100644 --- a/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java +++ b/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java @@ -316,30 +316,10 @@ public class HwmfGraphics { }
}
- /**
- *
- * @param text
- * @param bounds
- * @deprecated use {@link #drawString(byte[], Rectangle2D)}
- */
- public void drawString(String text, Rectangle2D bounds) {
- drawString(text, bounds, null);
- }
-
public void drawString(byte[] text, Rectangle2D bounds) {
drawString(text, bounds, null);
}
- /**
- *
- * @param text
- * @param bounds
- * @deprecated use {@link #drawString(byte[], Rectangle2D, int[])}
- */
- public void drawString(String text, Rectangle2D bounds, int dx[]) {
- drawString(text.getBytes(DEFAULT_CHARSET), bounds, dx);
- }
-
public void drawString(byte[] text, Rectangle2D bounds, int dx[]) {
HwmfFont font = prop.getFont();
if (font == null || text == null || text.length == 0) {
|