<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Materthron</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Materthron"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Materthron"/>
	<updated>2026-12-05T10:24:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=187617</id>
		<title>User:Materthron</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=187617"/>
		<updated>2010-11-04T23:33:51Z</updated>

		<summary type="html">&lt;p&gt;Materthron: bye bye&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&amp;#039;ve moved to The Document Foundation.&lt;br /&gt;
&lt;br /&gt;
Bye OO.o!&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Renaissance:UX_Books&amp;diff=106101</id>
		<title>Renaissance:UX Books</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Renaissance:UX_Books&amp;diff=106101"/>
		<updated>2008-12-31T16:07:39Z</updated>

		<summary type="html">&lt;p&gt;Materthron: + formatting and ISBNs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Books ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;The Persona Lifecycle: A Field Guide for Interaction Designers. Keeping People in Mind Throughout Product Design&amp;#039;&amp;#039;, John Pruitt, Tamara Adlin, 978-0125662512&lt;br /&gt;
* &amp;#039;&amp;#039;The Laws of Simplicity&amp;#039;&amp;#039;, John Maeda, 978-0262134729&lt;br /&gt;
* &amp;#039;&amp;#039;The User Is Always Right: A Practical Guide to Creating and Using Personas for the Web&amp;#039;&amp;#039;, Steve Mulder, Ziv Yaar, 978-0321434531&lt;br /&gt;
* &amp;#039;&amp;#039;Subject To Change: Creating Great Products &amp;amp; Services for an Uncertain World: Adaptive Path on Design&amp;#039;&amp;#039;, Peter Merholz, Todd Wilkens, Brandon Schauer, David Verba, 978-0596516833&lt;br /&gt;
* &amp;#039;&amp;#039;About Face 2.0: The Essentials of Interaction Design&amp;#039;&amp;#039;, Alan Cooper, 978-0764526411&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=84525</id>
		<title>User:Materthron</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=84525"/>
		<updated>2008-06-23T18:42:57Z</updated>

		<summary type="html">&lt;p&gt;Materthron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{User Experience Community}}&lt;br /&gt;
Just a cs student who likes to contribute to OO.o in his (very) spare time. Interested in User Interface and C++.&lt;br /&gt;
Mail goes to materthron_AT_users_DOT_sf_DOT.net&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m also active in the [http://wiki.videolan.org/User:Materthron VideoLAN] project.&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Firefox_ODFReader_extension&amp;diff=84242</id>
		<title>Firefox ODFReader extension</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Firefox_ODFReader_extension&amp;diff=84242"/>
		<updated>2008-06-21T10:34:29Z</updated>

		<summary type="html">&lt;p&gt;Materthron: + outdated note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;As the official size is off-line and there were no updates since 10-24-2006 it seems as if development of this extension has ceased. Therefore this page is only to serve for historical reasons.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A [[Wikipedia:Mozilla Firefox|Mozilla Firefox]] extension has been proposed by a developer named Talin, according to Mozilla hacker Gervase Markham [http://weblogs.mozillazine.org/gerv/archives/2006/01/odf_in_firefox.html]; since then it has been further modified by Alex Hudson[http://opendocumentfellowship.org/applications/firefox], and was hosted in the official Firefox extension repository[https://addons.mozilla.org/en-US/firefox/addon/1888].&lt;br /&gt;
&lt;br /&gt;
Official page for the ODFReader extension:&lt;br /&gt;
* http://www.alcoholicsunanimous.com/odfreader/&lt;br /&gt;
&lt;br /&gt;
Mozilla Firefox Extension Add-on page&lt;br /&gt;
* https://addons.mozilla.org/en-US/firefox/addon/1888&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Development resources ==&lt;br /&gt;
&lt;br /&gt;
=== ODT to XHTML XSLT ===&lt;br /&gt;
This ODFReader Firefox extension makes use of an XSL file. Currently the author recommends using the [[Wikipedia:XSLT|XSLT]] provided by J David Eisenberg:&lt;br /&gt;
&lt;br /&gt;
* http://books.evc-cit.info/odf_utils/odt_to_xhtml.html&lt;br /&gt;
&lt;br /&gt;
Also check out David&amp;#039;s book &amp;#039;&amp;#039;OASIS OpenDocument Essentials&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* http://books.evc-cit.info/&lt;br /&gt;
&lt;br /&gt;
=== OASIS Open Document Format for Office Applications ===&lt;br /&gt;
&lt;br /&gt;
Here you can find the document of OASIS Open Document Format specification v1.0 (the whole specification is about 700 pages):&lt;br /&gt;
&lt;br /&gt;
* http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office&lt;br /&gt;
&lt;br /&gt;
=== Firefox extension development ===&lt;br /&gt;
And for Firefox / XUL development, you can check out the book &amp;#039;&amp;#039;Rapid Application Development with Mozilla&amp;#039;&amp;#039; by Nigel McFarlane:&lt;br /&gt;
&lt;br /&gt;
* http://www.mozillazine.org/talkback.html?article=4600&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: It should be noted that Google has already supported viewing SXW format (used by OpenOffice.org 1.x) as HTML through their search engine[http://www.redmonk.com/sogrady/archives/001143.html] and G-Mail[http://mail.google.com/support/bin/answer.py?answer=30719&amp;amp;hl=en] already. See also Google Desktop Search&amp;#039;s [http://desktop.google.com/plugins/indextheopenoffice.html OpenDocument Indexer] plugin.&lt;br /&gt;
&lt;br /&gt;
== Related topics ==&lt;br /&gt;
* [http://www.osnews.com/story.php?news_id=12685 Why Browsers Should Be Able to Display OpenDocument]&lt;br /&gt;
* For further information on ODF filters and converters,&amp;lt;br&amp;gt;please check out [[Wikipedia:OpenDocument_software|List of OpenDocument software]] from Wikipedia&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Extensions]]&lt;br /&gt;
[[Category:Firefox]]&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writing_correct_Cplusplus&amp;diff=62160</id>
		<title>Writing correct Cplusplus</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writing_correct_Cplusplus&amp;diff=62160"/>
		<updated>2008-01-31T13:14:23Z</updated>

		<summary type="html">&lt;p&gt;Materthron: + external links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C++ is an extremely complex language, and it is easy to accidentially write code that does not conform to The Standard.  What is worse, there are cases where some compilers will not complain about your conformance violations, so that broken source code creeps into our code base.  Only when someone later uses a pickier compiler will the error be noticed.  (That is what just happened when trying to compile our code base with GCC&amp;amp;nbsp;4.1, which is pickier than any of the compilers routinely used on the standard platforms until now.)&lt;br /&gt;
&lt;br /&gt;
The following is a list of some issues you should have in mind when writing C++ code:&lt;br /&gt;
&lt;br /&gt;
==Extra Qualification==&lt;br /&gt;
&lt;br /&gt;
When declaring a member&amp;amp;nbsp;&amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; of a class&amp;amp;nbsp;&amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt;, do not qualify &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;C::m&amp;lt;/code&amp;gt;.  That is, write&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
class C { void m(); };&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and not&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
class C { void C::m(); };&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This applies to namespaces as well. Write&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
namespace N { void f() {} }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and not&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
namespace N { void N::f() {} }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Friend Visibility==&lt;br /&gt;
&lt;br /&gt;
When declaring a friend&amp;amp;nbsp;&amp;lt;code&amp;gt;f&amp;lt;/code&amp;gt; of a class&amp;amp;nbsp;&amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;f&amp;lt;/code&amp;gt; is injected into the surrounding namespace, but not visible in the surrounding namespace:&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
class C { friend void f(); };&lt;br /&gt;
void g() { f(); } // error&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Declare &amp;lt;code&amp;gt;f&amp;lt;/code&amp;gt; in the surrounding namespace, so that it is visible as intended:&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
void f();&lt;br /&gt;
class C { friend void f(); };&lt;br /&gt;
void g() { f(); } // ok&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Escape Sequences==&lt;br /&gt;
&lt;br /&gt;
Only use valid escape sequences in character and string literals. For example, write&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
&amp;quot;/&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and not&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
&amp;quot;\/&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Trigraphs==&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t use [http://en.wikipedia.org/wiki/C_trigraph trigraphs], especially not in literal character sequences. On some compiler platforms trigraphs have to be explicitly enabled, other platforms silently accept trigraphs without informing you. Using trigraphs in literal strings almost certainly does not what you expect. Avoid sequences with two question marks and a third character &amp;#039;&amp;#039;&amp;#039;??x&amp;#039;&amp;#039;&amp;#039;, if you need them literally, escape the question marks.&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
const char a[] = &amp;quot;??/?&amp;quot;;    // bad&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp]&lt;br /&gt;
const char a[] = &amp;quot;\?\?/?&amp;quot;;  // OK&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
=== Internal ===&lt;br /&gt;
*[[Using Cpp with the OOo SDK]]&lt;br /&gt;
*[[Writing warning-free code]]&lt;br /&gt;
*[[Debugging]]&lt;br /&gt;
&lt;br /&gt;
=== External ===&lt;br /&gt;
*[http://developer.mozilla.org/en/docs/C%2B%2B_Portability_Guide Mozilla&amp;#039;s C++ Portability Guide] (Note: some things do not apply to OO.o development!)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Cpp]]&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=60020</id>
		<title>User:Materthron</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=60020"/>
		<updated>2008-01-10T12:26:29Z</updated>

		<summary type="html">&lt;p&gt;Materthron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{User Experience Community}}&lt;br /&gt;
Just a cs student who likes to contribute to OO.o in his (very) spare time. Interested in User Interface and C++.&lt;br /&gt;
Mail goes to philipp_DOT_weissenbacher_AT_gmail_DOT_com.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m also active in the [http://wiki.videolan.org/User:Materthron VideoLAN] project.&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User_Interface_Design&amp;diff=60019</id>
		<title>User Interface Design</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User_Interface_Design&amp;diff=60019"/>
		<updated>2008-01-10T12:25:11Z</updated>

		<summary type="html">&lt;p&gt;Materthron: lnk to Reort Designer fixed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Visual Design]]&lt;br /&gt;
&lt;br /&gt;
This is WIKI variation of [[Visual Design]]:&lt;br /&gt;
[http://ui.openoffice.org/VisualDesign/OOo_ui.html UI Design] at [[OpenOffice.org]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Icon Design&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [[Icon Design]] Guide Line&lt;br /&gt;
* Evolution of OOo icons&lt;br /&gt;
* The [http://ui.openoffice.org/VisualDesign/OOo_galaxy.html Galaxy icon style]&lt;br /&gt;
* [http://ui.openoffice.org/VisualDesign/OOo_galaxy_mimetype.html#color Color language] and [http://ui.openoffice.org/VisualDesign/OOo_galaxy_mimetype.html#symbolic Symbolism]&lt;br /&gt;
* [http://ui.openoffice.org/VisualDesign/OOo_galaxy_disabled.html Disabled icons]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Splash Screens]] &amp;amp; [[Aboutboxes]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* The current [http://ui.openoffice.org/VisualDesign/OOo_splash.html SplashScreen] (also history files)&lt;br /&gt;
* The current [http://ui.openoffice.org/VisualDesign/OOo_splash.html#about Aboutbox] (also history files)&lt;br /&gt;
* The [http://ui.openoffice.org/VisualDesign/gifs/Images/progressbar_OOo.png progress bar] specification&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Installation Bitmaps]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Current [http://ui.openoffice.org/VisualDesign/OOo_install.html installation] bitmaps (also history files)&lt;br /&gt;
* Bitmaps for [http://ui.openoffice.org/VisualDesign/OOo_install_mac.html MacOS X]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other Bitmaps&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://ui.openoffice.org/VisualDesign/OOo20savedoc_preview.html Thumbnails] for Preview of saved documents&lt;br /&gt;
* [http://ui.openoffice.org/VisualDesign/presibuttons.html Buttons] for [[Impress]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Accessibility&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Proposals&amp;#039;&amp;#039;&amp;#039; (current &amp;amp; dismiss)&lt;br /&gt;
* New [http://ui.openoffice.org/VisualDesign/OOoChart_colors_drafts.html default colors] for [[Chart]]&lt;br /&gt;
* New [http://ui.openoffice.org/VisualDesign/OOoBase_colors.html colors] for [[Report Designer]]&lt;br /&gt;
* [http://ui.openoffice.org/VisualDesign/OOo_ExtensionsSite.html Extensions site design] &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; How Do...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=58977</id>
		<title>User:Materthron</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Materthron&amp;diff=58977"/>
		<updated>2007-12-27T19:54:41Z</updated>

		<summary type="html">&lt;p&gt;Materthron: provided some informaton&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Just a cs student who likes to contribute to OO.o in his (very) spare time.&lt;br /&gt;
Mail goes to philipp_DOT_weissenbacher_AT_gmail_DOT_com.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m also active in the [http://wiki.videolan.org/User:Materthron VideoLAN] project.&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Valgrind&amp;diff=58975</id>
		<title>Valgrind</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Valgrind&amp;diff=58975"/>
		<updated>2007-12-27T19:45:35Z</updated>

		<summary type="html">&lt;p&gt;Materthron: Run recent version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Making it work with OO.o ==&lt;br /&gt;
&lt;br /&gt;
Some tools such as cachegrind require a patch to fix some stack layout problems: from Naren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- configure.in.orig	2005-06-07 14:21:44.142756416 -0700&lt;br /&gt;
+++ configure.in	2005-06-07 14:27:01.717477720 -0700&lt;br /&gt;
@@ -77,7 +77,7 @@&lt;br /&gt;
      i?86) &lt;br /&gt;
 	AC_MSG_RESULT([ok (${host_cpu})])&lt;br /&gt;
         VG_ARCH=&amp;quot;x86&amp;quot;&lt;br /&gt;
-        KICKSTART_BASE=&amp;quot;0xb0000000&amp;quot;&lt;br /&gt;
+        KICKSTART_BASE=&amp;quot;0x30000000&amp;quot;&lt;br /&gt;
         ARCH_CORE_AM_CFLAGS=&amp;quot;@PREFERRED_STACK_BOUNDARY@ -DELFSZ=32&amp;quot;&lt;br /&gt;
         ARCH_TOOL_AM_CFLAGS=&amp;quot;@PREFERRED_STACK_BOUNDARY@&amp;quot;&lt;br /&gt;
         ARCH_CORE_AM_CCASFLAGS=&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clearly it is necessary to run autoconf after applying that.&lt;br /&gt;
&lt;br /&gt;
It may also be necessary to silence an assertion, according to [http://blogs.sun.com/roller/page/thorsten?entry=callgrind_valgrind_woes Thorsten&amp;#039;s blog entry]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- main.c~	2005-10-04 01:28:01.000000000 +0200&lt;br /&gt;
+++ main.c	2005-11-24 13:46:13.000000000 +0100&lt;br /&gt;
@@ -274,7 +274,7 @@&lt;br /&gt;
    if (bb_seen_before) {&lt;br /&gt;
        CLG_ASSERT(ii-&amp;amp;gt;instr_offset == instr_offset);&lt;br /&gt;
        CLG_ASSERT(ii-&amp;amp;gt;instr_size == instrLen);&lt;br /&gt;
-       CLG_ASSERT(ii-&amp;amp;gt;data_size == dataSize);&lt;br /&gt;
+       //CLG_ASSERT(ii-&amp;amp;gt;data_size == dataSize);&lt;br /&gt;
        CLG_ASSERT(ii-&amp;amp;gt;cost_offset == *cost_offset);&lt;br /&gt;
        CLG_ASSERT(ii-&amp;amp;gt;eventset == es);&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== disabling the custom allocator ==&lt;br /&gt;
&lt;br /&gt;
If you use ooo-build; export OOO_FORCE_SYSALLOC=1 before running, (this is built into [[linkoo]]&amp;#039;s ooenv script).&lt;br /&gt;
&lt;br /&gt;
If you use a Vanilla build, and your shell is setup for building ooo, use the following wrapper script around valgrind:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# instrument soffice with a malloc-based memory allocator.&lt;br /&gt;
# Requires libsalalloc_malloc.so to be in the LD_LIBRARY_PATH.&lt;br /&gt;
# Forwards all command line arguments to valgrind.&lt;br /&gt;
&lt;br /&gt;
export LD_PRELOAD=libsalalloc_malloc.so&lt;br /&gt;
valgrind $@ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which preloads a small interceptor lib, which redirects all allocator calls to malloc.&lt;br /&gt;
&lt;br /&gt;
== disabling glib&amp;#039;s custom allocator ==&lt;br /&gt;
&lt;br /&gt;
If you want to also track down problems with glib allocated objects, e.g. resource leaks in gconfbe then you need to disable glib&amp;#039;s custom allocation as well, e.g. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
G_SLICE=always-malloc valgrind ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Callgrind How-To ==&lt;br /&gt;
&lt;br /&gt;
There&amp;#039;s a [http://tools.openoffice.org/profiling/callgrind-howto.html Callgrind How-To] at the OOo website.&lt;br /&gt;
&lt;br /&gt;
TODO: move (!) its content here, not just copy but also remove there, so we don&amp;#039;t end up with a fork.&lt;br /&gt;
&lt;br /&gt;
There&amp;#039;s also some Writer document about Valgrind: http://tools.openoffice.org/debugging/usingvalgrind.sxw&lt;br /&gt;
&lt;br /&gt;
TODO: same as above.&lt;br /&gt;
&lt;br /&gt;
TODO: &amp;#039;&amp;#039;&amp;#039;Run recent version&amp;#039;&amp;#039;&amp;#039; &amp;lt;br/&amp;gt;&lt;br /&gt;
Someone should run the latest version o OO.o, as Valgrind 3.3.0 re-introduces Hellgrind which helps e.g. to hunt down deadlocks. See [http://www.valgrind.org/docs/manual/dist.news.html] for more.&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Using_Cpp_with_the_OOo_SDK&amp;diff=47912</id>
		<title>Using Cpp with the OOo SDK</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Using_Cpp_with_the_OOo_SDK&amp;diff=47912"/>
		<updated>2007-09-25T12:21:54Z</updated>

		<summary type="html">&lt;p&gt;Materthron: minor improvements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HomePageCpp.png]]&lt;br /&gt;
&lt;br /&gt;
This site is about using C++ as a language to program OOo extensions.&lt;br /&gt;
*[[CppSDKAuthors|About the Author and Contributors]]&lt;br /&gt;
* [[SDKInstallation|How to install the SDK and compile the C++ examples]] (see also [[Windows|Welcome to OOo development for Windows]])&lt;br /&gt;
* [[SDKCppLanguage|The UNO C++ Language]]&lt;br /&gt;
* [[UNO_automation_with_a_binary_(executable)|OpenOffice.org&amp;#039;s UNO automation with a binary (executable)]]&lt;br /&gt;
* [[OpenOffice_Calc|OpenOffice Calc]]&lt;br /&gt;
* [[Programming_OOoDraw_and_OOoImpress|C++ automation of OOoDraw and OOoImpress]]&lt;br /&gt;
* [[Working_with_Shapes |Working with Shapes in C++]]&lt;br /&gt;
* [[Programming OooWriter |Programming OooWriter with C++]]&lt;br /&gt;
* General Utilities&lt;br /&gt;
**[[Playing_with_Window_Toolkit_AWT|Playing with Window Toolkit AWT]]&lt;br /&gt;
**[[Executing_an_OOoBasic_macro_with_Cpp|Executing an OOoBasic macro with C++]]&lt;br /&gt;
* [[IDL_Files_and_Cpp|IDL Files and C++]]&lt;br /&gt;
* [[UNO_registery_and_Bootstrapping|UNO registery and Bootstrapping]]&lt;br /&gt;
* [[Constructing_Helpers|Constructing Helpers]]&lt;br /&gt;
* [[Constructing_Components|Constructing Components in C++]]&lt;br /&gt;
* [[CompleteAddIn | OOoCalc addin in C++]]&lt;br /&gt;
* [[XML_and_Filter |XML, Filters and Files]]&lt;br /&gt;
* [[GNU_Lesser_General_Public_License|GNU Lesser General Public License]]&lt;br /&gt;
&lt;br /&gt;
= See also=&lt;br /&gt;
== General ==&lt;br /&gt;
* Writing a Program to Control OpenOffice.org, by Franco Pingiori — [http://www.linuxjournal.com/article/8550 Part 1] and [http://www.linuxjournal.com/article/8608 Part 2], Linux Journal&lt;br /&gt;
* [[Tutorial_UNO_Library|UNO tutorial]]&lt;br /&gt;
* [[Tutorial_UNO_IDL|UNO IDL]]&lt;br /&gt;
* [[Uno/Article/Types%26Reflection]]&lt;br /&gt;
* [http://udk.openoffice.org/common/man/concept/unointro.html UNO Introduction]&lt;br /&gt;
* [http://udk.openoffice.org/cpp/man/tutorial/unointro.html A Guide to C++ UNO]&lt;br /&gt;
* [http://perso.wanadoo.fr/moutou/MyUNODoc_HTML/UNOCppAPI.html UNO/C++] (Complete UNO/C++ document) &lt;br /&gt;
* [http://www.oooforum.org/forum/viewtopic.phtml?t=8702 Working with a database in C++] (not tackled in this document at the moment).&lt;br /&gt;
* [[Compiler_versions_used_by_port_maintainers_and_release_engineers|Compiler versions used by port maintainers and release engineers]]&lt;br /&gt;
&lt;br /&gt;
== Coding ==&lt;br /&gt;
* [[Writing_correct_Cplusplus|Writing correct C++]]&lt;br /&gt;
* [[Writing_warning-free_code|Writing warning-free code]]&lt;br /&gt;
* [[Debugging |Debugging]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
[[Category:Uno]]&lt;br /&gt;
[[Category:Article]]&lt;/div&gt;</summary>
		<author><name>Materthron</name></author>
	</entry>
</feed>