From f36aec428390eb7145a466e9773e04271038247d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 30 Nov 2012 20:45:29 +0100 Subject: [PATCH] eradicate all traces of OLocale and rtl/locale.hxx ... damn language tags breaking builds left and right ... Change-Id: I73224cb3fb2bb98779fdcace700cad2a4fb7cd0e --- desktop/source/app/langselect.cxx | 1 - sal/qa/rtl/locale/rtl_locale.cxx | 13 ------------- vcl/generic/fontmanager/fontconfig.cxx | 1 - vcl/source/app/brand.cxx | 1 - 4 files changed, 16 deletions(-) diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx index 085e0a74a1d0..e25449390e0b 100644 --- a/desktop/source/app/langselect.cxx +++ b/desktop/source/app/langselect.cxx @@ -40,7 +40,6 @@ #include #include #include "com/sun/star/util/XFlushable.hpp" -#include #include #include #include diff --git a/sal/qa/rtl/locale/rtl_locale.cxx b/sal/qa/rtl/locale/rtl_locale.cxx index 6607b76ec5a6..5494a18f9c52 100644 --- a/sal/qa/rtl/locale/rtl_locale.cxx +++ b/sal/qa/rtl/locale/rtl_locale.cxx @@ -48,18 +48,6 @@ public: { } - // insert your test code here. - void getDefault_000() - { - // this is demonstration code - // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1); - - // due to the fact, we set the default locale at first, this test is no longer possible - // ::rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); - // CPPUNIT_ASSERT_MESSAGE("locale must be null", aLocale.getData() == NULL); - - } - void getDefault_001() { rtl_Locale* pData = rtl_locale_getDefault(); @@ -71,7 +59,6 @@ public: // because these macros are need by auto register mechanism. CPPUNIT_TEST_SUITE(getDefault); - CPPUNIT_TEST(getDefault_000); CPPUNIT_TEST(getDefault_001); CPPUNIT_TEST_SUITE_END(); }; // class getDefault diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx index 86c4ff53e956..b707b78c400a 100644 --- a/vcl/generic/fontmanager/fontconfig.cxx +++ b/vcl/generic/fontmanager/fontconfig.cxx @@ -87,7 +87,6 @@ using namespace psp; #include "osl/process.h" #include "rtl/ustrbuf.hxx" -#include "rtl/locale.hxx" #include "sal/alloca.h" diff --git a/vcl/source/app/brand.cxx b/vcl/source/app/brand.cxx index 74d55104e62c..33b8bddcbc1a 100644 --- a/vcl/source/app/brand.cxx +++ b/vcl/source/app/brand.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include