Kaydet (Commit) d97380c6 authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: avoid repeating the return type from the declaration

Change-Id: I4fb7993482e71c936d820b559aa6b4a212c8175d
Reviewed-on: https://gerrit.libreoffice.org/34729Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 121525db
...@@ -59,7 +59,7 @@ awt::Size lcl_getOptimalWidth(const StyleSheetTablePtr& pStyleSheet, OUString& r ...@@ -59,7 +59,7 @@ awt::Size lcl_getOptimalWidth(const StyleSheetTablePtr& pStyleSheet, OUString& r
sal_Int32 nBorder = nHeight / 2; sal_Int32 nBorder = nHeight / 2;
// Width: space for the text + the square having the dropdown arrow. // Width: space for the text + the square having the dropdown arrow.
return awt::Size(nWidth + nBorder + nHeight, nHeight + nBorder); return {nWidth + nBorder + nHeight, nHeight + nBorder};
} }
SdtHelper::SdtHelper(DomainMapper_Impl& rDM_Impl) SdtHelper::SdtHelper(DomainMapper_Impl& rDM_Impl)
......
...@@ -210,8 +210,8 @@ const char* keywordToString(RTFKeyword nKeyword) ...@@ -210,8 +210,8 @@ const char* keywordToString(RTFKeyword nKeyword)
static util::DateTime lcl_getDateTime(RTFParserState& aState) static util::DateTime lcl_getDateTime(RTFParserState& aState)
{ {
return util::DateTime(0 /*100sec*/, 0 /*sec*/, aState.nMinute, aState.nHour, return {0 /*100sec*/, 0 /*sec*/, aState.nMinute, aState.nHour,
aState.nDay, aState.nMonth, aState.nYear, false); aState.nDay, aState.nMonth, aState.nYear, false};
} }
static void lcl_DestinationToMath(OUStringBuffer* pDestinationText, oox::formulaimport::XmlStreamBuilder& rMathBuffer, bool& rMathNor) static void lcl_DestinationToMath(OUStringBuffer* pDestinationText, oox::formulaimport::XmlStreamBuilder& rMathBuffer, bool& rMathNor)
......
...@@ -274,11 +274,11 @@ public: ...@@ -274,11 +274,11 @@ public:
bool isRightToLeft; bool isRightToLeft;
// Info group. // Info group.
int nYear; sal_Int16 nYear;
int nMonth; sal_uInt16 nMonth;
int nDay; sal_uInt16 nDay;
int nHour; sal_uInt16 nHour;
int nMinute; sal_uInt16 nMinute;
/// Text from special destinations. /// Text from special destinations.
OUStringBuffer aDestinationText; OUStringBuffer aDestinationText;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment