summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-26 16:31:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-26 16:36:09 +0100
commitf1bca26afcc7593d0124c216c0400a9e2e47fc1d (patch)
tree37557f9a9afd815c4389ce7c4b3c47380829ef51 /tools
parent8e681942f771d7beae52b1e786fab16e6a653ab1 (diff)
Remove redundant braces around for loops
...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index f6e9db46b92c..0587490cc8b8 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -4741,7 +4741,8 @@ bool INetURLObject::setFSysPath(rtl::OUString const & rFSysPath,
case FSYS_MAC:
aSynAbsURIRef.append(sal_Unicode('/'));
- {for (sal_Unicode const * p = pFSysBegin; p != pFSysEnd; ++p)
+ for (sal_Unicode const * p = pFSysBegin; p != pFSysEnd; ++p)
+ {
switch (*p)
{
case ':':