Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tuesday 11 of December 2012, Stephan Bergmann wrote:
commit 3e64874e7cd234ff563ac11450cfb2b6e2db4bf6
Author: Radu Ioan <ioan.radu.g@gmail.com>
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -82,7 +82,6 @@ namespace com { namespace sun { namespace star {
      }
      namespace util { struct ElementChange; }
  } } }
-namespace rtl { class OUString; }

Changes like this are, strictly speaking, unsound.  They rely on at
least one of the included headers happening to in turn include
rtl/ustring.hxx.

 Which, practically speaking, is pretty much guaranteed to happen for 
OUString.

The underlying intransparency wrt forward declarations is IMO a
fundamental drawback of the recent efforts of beautification via using
declarations or namespace aliases, for rtl and com::sun::star.

 I don't understand what fundamental drawback you mean.

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.