Commits

Anonymous committed 1e7820d

hb33tablebylayout: #i110135# handle compiler warnings

  • Participants
  • Parent commits 7877065

Comments (0)

Files changed (1)

File sw/source/filter/ww8/WW8TableInfo.cxx

 {
     static char buffer[256];
     snprintf(buffer, sizeof(buffer), 
-             "<tableinner depth=\"%" SAL_PRIxUINT32 "\""
-             " cell=\"%" SAL_PRIxUINT32 "\""
-             " row=\"%" SAL_PRIxUINT32 "\""
+             "<tableinner depth=\"%" SAL_PRIuUINT32 "\""
+             " cell=\"%" SAL_PRIuUINT32 "\""
+             " row=\"%" SAL_PRIuUINT32 "\""
              " endOfCell=\"%s\""
              " endOfLine=\"%s\""
-             " shadowsBefore=\"%" SAL_PRIxUINT32 "\""
-             " shadowsAfter=\"%" SAL_PRIxUINT32 "\""
+             " shadowsBefore=\"%" SAL_PRIuUINT32 "\""
+             " shadowsAfter=\"%" SAL_PRIuUINT32 "\""
              " vertMerge=\"%s\"/>",
              mnDepth, mnCell, mnRow,
              mbEndOfCell ? "yes" : "no",
 {
     static char buffer[1024];
     snprintf(buffer, sizeof(buffer), 
-             "<tableNodeInfo p=\"%p\" depth=\"%" SAL_PRIxUINT32 "\">"
+             "<tableNodeInfo p=\"%p\" depth=\"%" SAL_PRIuUINT32 "\">"
              ,this, getDepth());
 
     ::std::string sResult(buffer);
         ::std::clog << "<CellFrm>" << ::std::endl;
 
         snprintf(sBuffer, sizeof(sBuffer), 
-                 "<rect top=\"%" SAL_PRIxUINT32 "\" bottom=\"%" SAL_PRIxUINT32 "\" left=\"%" SAL_PRIxUINT32 "\" right=\"%" SAL_PRIxUINT32 "\"/>",
+                 "<rect top=\"%" SAL_PRIdINT32 "\" bottom=\"%" SAL_PRIdINT32 "\" left=\"%" SAL_PRIdINT32 "\" right=\"%" SAL_PRIdINT32 "\"/>",
                  aRect.Top(), aRect.Bottom(), aRect.Left(), aRect.Right());
         ::std::clog << sBuffer << ::std::endl;
 #endif
     static char sBuffer[256];
     
     snprintf(sBuffer, sizeof(sBuffer), 
-             "<cellinfo left=\"%" SAL_PRIxUINT32 "\""
-             " right=\"%" SAL_PRIxUINT32 "\""
-             " top=\"%" SAL_PRIxUINT32 "\""
-             " bottom=\"%" SAL_PRIxUINT32 "\""
+             "<cellinfo left=\"%" SAL_PRIdINT32 "\""
+             " right=\"%" SAL_PRIdINT32 "\""
+             " top=\"%" SAL_PRIdINT32 "\""
+             " bottom=\"%" SAL_PRIdINT32 "\""
              " node=\"%p\"/>",
              left(),
              right(),