summaryrefslogtreecommitdiffstats
path: root/sc/inc/mtvelements.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-10 22:47:05 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-10 22:50:22 -0500
commit808fd5fbd8868dfd95c8a38676815798fa2b79c4 (patch)
tree5bec9519ec53ec0a0f68688a3e156b4bf8eb71a2 /sc/inc/mtvelements.hxx
parentfdo#87030: Generate a proper PKCS#7 signature (diff)
downloadcore-808fd5fbd8868dfd95c8a38676815798fa2b79c4.tar.gz
core-808fd5fbd8868dfd95c8a38676815798fa2b79c4.zip
Deteremine the script type of source cell during paste replication.
Doing this ahead of time eliminates the need to update script types of all replicated cells after the paste. This makes significant performance impact. Change-Id: Ic4f7d7b2fe152bd5640ddb1dae01cc2ed757657e
Diffstat (limited to 'sc/inc/mtvelements.hxx')
-rw-r--r--sc/inc/mtvelements.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index 0e4093ed4008..1d303ceea72d 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -17,6 +17,7 @@
#include <editeng/editobj.hxx>
#include "calcmacros.hxx"
#include "postit.hxx"
+#include <celltextattr.hxx>
#include <osl/mutex.hxx>
#if DEBUG_COLUMN_STORAGE
@@ -38,15 +39,6 @@ struct ScRefCellValue;
namespace sc {
-struct CellTextAttr
-{
- sal_uInt16 mnTextWidth;
- sal_uInt8 mnScriptType;
-
- CellTextAttr();
- CellTextAttr(const CellTextAttr& r);
-};
-
/// Custom element type IDs for multi_type_vector.
const mdds::mtv::element_t element_type_broadcaster = mdds::mtv::element_type_user_start;