diff options
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/bencont.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpgrfobj.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfcolor.cxx | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx index b5648a64b3ec..9ab7512e4889 100644 --- a/lotuswordpro/source/filter/bencont.cxx +++ b/lotuswordpro/source/filter/bencont.cxx @@ -280,8 +280,10 @@ std::vector<sal_uInt8> LtcBenContainer::GetGraphicData(const char *pObjectName) char sSName[64]=""; char sDName[64]=""; + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf(sSName, "%s-S", pObjectName); sprintf(sDName, "%s-D", pObjectName); + SAL_WNODEPRECATED_DECLARATIONS_POP /* traverse the found properties and construct the stream vectors */ // get S&D's stream and merge them together diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx index 986cdff85195..519761f01f0e 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.cxx +++ b/lotuswordpro/source/filter/lwpgrfobj.cxx @@ -314,7 +314,9 @@ void LwpGraphicObject::GetBentoNamebyID(LwpObjectID const & rMyID, std::string& sal_uInt32 nLow = rMyID.GetLow(); char pTempStr[32]; rName = std::string("Gr"); + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf(pTempStr, "%X,%" SAL_PRIXUINT32, nHigh, nLow); + SAL_WNODEPRECATED_DECLARATIONS_POP rName.append(pTempStr); } @@ -370,7 +372,9 @@ sal_uInt32 LwpGraphicObject::GetGrafData(std::unique_ptr<sal_uInt8[]>& pGrafData GetBentoNamebyID(rMyID, aGrfObjName); char sDName[64]=""; + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf(sDName, "%s-D", aGrfObjName.c_str()); + SAL_WNODEPRECATED_DECLARATIONS_POP // get bento stream by the name pGrafStream = pBentoContainer->FindValueStreamWithPropertyName(sDName); diff --git a/lotuswordpro/source/filter/xfilter/xfcolor.cxx b/lotuswordpro/source/filter/xfilter/xfcolor.cxx index c30e35341f3e..dbdc2ee58691 100644 --- a/lotuswordpro/source/filter/xfilter/xfcolor.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcolor.cxx @@ -63,7 +63,9 @@ OUString XFColor::ToString() const { char buf[8] = {}; + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf(buf,"#%2x%2x%2x",m_nRed, m_nGreen, m_nBlue); + SAL_WNODEPRECATED_DECLARATIONS_POP for( int i=1; i<7;i++ ) { if( buf[i] == ' ' ) |