[Libreoffice-commits] core.git: filter/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 8 11:39:47 UTC 2020
filter/source/msfilter/msdffimp.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit fcf25f3b300463422a5c5c8895710d71e372878a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 8 08:54:38 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jan 8 12:39:14 2020 +0100
ofz#19901 Invalid-enum-value
Change-Id: I14273dfc695c504bd00f23f614b041207a8f2b29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86396
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 9fc3a35764c3..97577199628c 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4419,7 +4419,6 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
{
OUString aObjectText;
OUString aFontName;
- MSO_GeoTextAlign eGeoTextAlign;
if ( SeekToContent( DFF_Prop_gtextFont, rSt ) )
{
@@ -4454,7 +4453,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
ReadObjText( aObjectText, pRet );
}
- eGeoTextAlign = static_cast<MSO_GeoTextAlign>(GetPropertyValue( DFF_Prop_gtextAlign, mso_alignTextCenter ));
+ auto eGeoTextAlign = GetPropertyValue(DFF_Prop_gtextAlign, mso_alignTextCenter);
{
SdrTextHorzAdjust eHorzAdjust;
switch( eGeoTextAlign )
More information about the Libreoffice-commits
mailing list