Skip to content

Commit

Permalink
[calligra] Use the correct character encoding and image size when rea…
Browse files Browse the repository at this point in the history
…ding rtf documents. Contributes to JB#45283
  • Loading branch information
adenexter committed May 28, 2019
1 parent b446cce commit 5ffd499
Show file tree
Hide file tree
Showing 3 changed files with 786 additions and 0 deletions.
25 changes: 25 additions & 0 deletions rpm/calligra-invalidate-cache.patch
@@ -0,0 +1,25 @@
From ade89d081f50bc4d7c8da63fd5da1f62c3e3e442 Mon Sep 17 00:00:00 2001
From: Andrew den Exter <andrew.den.exter@qinetic.com.au>
Date: Mon, 13 May 2019 03:24:40 -0400
Subject: [PATCH 2/2] Update the document cache when an image is reloaded.

---
words/part/KWCanvasItem.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/words/part/KWCanvasItem.cpp b/words/part/KWCanvasItem.cpp
index 18f5b40..0885708 100644
--- a/words/part/KWCanvasItem.cpp
+++ b/words/part/KWCanvasItem.cpp
@@ -157,7 +157,7 @@ void KWCanvasItem::updateInputMethodInfo()

void KWCanvasItem::updateCanvas(const QRectF &rc)
{
- Q_UNUSED(rc)
+ KWCanvasBase::updateCanvas(rc);
emit canvasUpdated();
}

--
1.8.3-rc3

0 comments on commit 5ffd499

Please sign in to comment.