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


Just like the other .cxx files in starmath, make this one include unomodel.hxx and get the definition of the A2OU macro from there
instead of redefining it.
I hope ommitting this header inclusion was not intentional, it builds at least with it included :)

Jani
From 753c0a3ff6704045d3837581a2299f4c20b76452 Mon Sep 17 00:00:00 2001
From: Jani Monoses <jani@ubuntu.com>
Date: Sat, 30 Oct 2010 01:55:47 +0300
Subject: [PATCH 1/2] Include header file instead of redefining a macro.

---
 starmath/source/accessibility.cxx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 6b8f72b..75311fc 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -61,6 +61,7 @@
 
 #include "accessibility.hxx"
 #include <applicat.hxx>
+#include <unomodel.hxx>
 #include <document.hxx>
 #include <view.hxx>
 
@@ -70,8 +71,6 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::accessibility;
 
-#define A2OU(cChar)  rtl::OUString::createFromAscii(cChar)
-
 //////////////////////////////////////////////////////////////////////
 
 static awt::Rectangle lcl_GetBounds( Window *pWin )
-- 
1.7.0.4


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.