sal/osl/unx/profile.cxx | 2 +- unotools/source/config/fontcfg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4fbbfc2269d9671415efea2d946176abb83c5930 Author: Douglas Mencken <dougmenc...@gmail.com> Date: Thu May 22 13:08:14 2014 -0400 WoE: while (..) {} instead of while(..); "warning: suggest a space before ';' or explicit braces around empty body" Change-Id: I71a55cc888d3480217621491ecace7d0af3dca6e Reviewed-on: https://gerrit.libreoffice.org/9441 Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> Tested-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx index 6684662..70505da 100644 --- a/sal/osl/unx/profile.cxx +++ b/sal/osl/unx/profile.cxx @@ -1133,7 +1133,7 @@ static sal_Char* OslProfile_getLine(osl_TFile* pFile) pFile->m_pReadPtr = pChr; } - while (Max > 0); + while (Max > 0) ; return pLine; } diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index fccab2d..e442870 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -700,7 +700,7 @@ static bool ImplKillTrailingWithExceptions( OUString& rName, const char* const* else { // skip exception strings - while( *++ppStr ); + while( *++ppStr ) {} } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits