summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-23 11:04:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-23 14:26:00 +0000
commitd058765ff3c4f3aaa84c3f9bec774aed8a8b32a3 (patch)
treecb6d66b5394200f626ac1726558dbe3ce11e332c
parent3dc8907dd32281192c47030d16c5628eccc23564 (diff)
updae getTileMode
Change-Id: Ic8d67f08d40f475020c0534570fe3bea07aa431b
-rw-r--r--desktop/source/lib/init.cxx2
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitEnums.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 69ff1c3b1aaf..0a1844ac243b 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -963,7 +963,7 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
static int doc_getTileMode(LibreOfficeKitDocument* /*pThis*/)
{
- return LOK_TILEMODE_RGBA;
+ return LOK_TILEMODE_BGRA;
}
static void doc_getDocumentSize(LibreOfficeKitDocument* pThis,
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index b713f0ed49b7..a0f5e886dcac 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -36,7 +36,7 @@ LibreOfficeKitPartMode;
typedef enum
{
LOK_TILEMODE_RGBA,
- LOK_TILEMODE_ARGB
+ LOK_TILEMODE_BGRA
}
LibreOfficeKitTileMode;