[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - oox/source
Tamas Bunth (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 30 08:09:55 UTC 2019
oox/source/drawingml/textfield.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit a8a97925f79bb1859604988483168c9dded44052
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
AuthorDate: Fri Oct 25 17:45:01 2019 +0200
Commit: Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Wed Oct 30 09:09:01 2019 +0100
tdf#126324 Import custom date as custom XTextField
Change-Id: I89f96490a47210e7daa3b21b2399e0dfe0cf3abf
Reviewed-on: https://gerrit.libreoffice.org/81513
Tested-by: Jenkins
Reviewed-by: Tamás Bunth <btomi96 at gmail.com>
(cherry picked from commit df9672b1fada6fc847bfa4c8a8f016fb2af6a7b5)
Reviewed-on: https://gerrit.libreoffice.org/81592
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
diff --git a/oox/source/drawingml/textfield.cxx b/oox/source/drawingml/textfield.cxx
index 713c5a745b3d..f7f9a6f28f40 100644
--- a/oox/source/drawingml/textfield.cxx
+++ b/oox/source/drawingml/textfield.cxx
@@ -67,6 +67,12 @@ void lclCreateTextFields( std::vector< Reference< XTextField > > & aFields,
OString p( s.pData->buffer + 8 );
try
{
+ if(p.startsWith("'"))
+ {
+ xIface = xFactory->createInstance( "com.sun.star.text.TextField.Custom" );
+ aFields.emplace_back( xIface, UNO_QUERY );
+ return;
+ }
bool bIsDate = true;
int idx = p.toInt32();
sal_uInt16 nNumFmt;
More information about the Libreoffice-commits
mailing list