summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ODT.hs
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2017-02-22 14:38:32 +0100
committermb21 <mb21@users.noreply.github.com>2017-02-22 15:34:53 +0100
commit3f6b50e525255feda59ba44d4e094766bd87e0a9 (patch)
treef65850505f1c7696f1de82dc62113a47d0f480b7 /src/Text/Pandoc/Writers/ODT.hs
parentb312ac6d2dd740f5c06dcf86d51c36f3d67dbe2f (diff)
imageSize interface change
`imageSize img` is now `imageSize opts img`
Diffstat (limited to 'src/Text/Pandoc/Writers/ODT.hs')
-rw-r--r--src/Text/Pandoc/Writers/ODT.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/ODT.hs b/src/Text/Pandoc/Writers/ODT.hs
index ee5fa4c24..61bb63d9b 100644
--- a/src/Text/Pandoc/Writers/ODT.hs
+++ b/src/Text/Pandoc/Writers/ODT.hs
@@ -153,7 +153,7 @@ transformPicMath opts (Image attr@(id', cls, _) lab (src,t)) = do
report $ CouldNotFetchResource src ""
return $ Emph lab
Right (img, mbMimeType) -> do
- (ptX, ptY) <- case imageSize img of
+ (ptX, ptY) <- case imageSize opts img of
Right s -> return $ sizeInPoints s
Left msg -> do
report $ CouldNotDetermineImageSize src msg