summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-04-26 08:39:20 +0000
committerRüdiger Timm <rt@openoffice.org>2007-04-26 08:39:20 +0000
commit46db11cf3447bb2f6de562687d97cfbf59ea9a64 (patch)
treec469fd0c2736a070e5bf84acd876cb5488e553dd /automation
parent7918b2085f32e0bef329daba07dc36d99893af44 (diff)
INTEGRATION: CWS residcleanup (1.1.2); FILE ADDED
2007/02/22 22:20:45 pl 1.1.2.1: #i74635# get rid of global ResMgr fallback
Diffstat (limited to 'automation')
-rw-r--r--automation/source/inc/sttresid.hxx50
1 files changed, 50 insertions, 0 deletions
diff --git a/automation/source/inc/sttresid.hxx b/automation/source/inc/sttresid.hxx
new file mode 100644
index 000000000000..b2dd03052344
--- /dev/null
+++ b/automation/source/inc/sttresid.hxx
@@ -0,0 +1,50 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: sttresid.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-26 09:39:20 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef _STTRESID_HXX_
+#define _STTRESID_HXX_
+
+#include <tools/resmgr.hxx>
+#include <tools/resid.hxx>
+
+class SttResId : public ResId
+{
+ static ResMgr* getSttResMgr();
+ public:
+ SttResId( sal_uInt32 nId ) : ResId( nId, *getSttResMgr() ) {}
+};
+
+
+#endif