summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuchar.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-12-14 15:54:59 +0000
committerRüdiger Timm <rt@openoffice.org>2005-12-14 15:54:59 +0000
commit4ee864454cfee19c0ae3d46cbc9440b1c810b251 (patch)
treed238b02b4ce6c6f403590f1f16c83d81523437c9 /sd/source/ui/func/fuchar.cxx
parentdcd545d8499449e45b51892bbd97515764ae007d (diff)
INTEGRATION: CWS impressfunctions (1.7.40); FILE MERGED
2005/10/28 10:57:34 cl 1.7.40.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func/fuchar.cxx')
-rw-r--r--sd/source/ui/func/fuchar.cxx25
1 files changed, 22 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuchar.cxx b/sd/source/ui/func/fuchar.cxx
index 8a1642a5018e..40ed00baaff4 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fuchar.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 04:34:47 $
+ * last change: $Author: rt $ $Date: 2005-12-14 16:54:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -89,6 +89,17 @@ FuChar::FuChar (
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
+}
+
+FunctionReference FuChar::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
+{
+ FunctionReference xFunc( new FuChar( pViewSh, pWin, pView, pDoc, rReq ) );
+ xFunc->DoExecute(rReq);
+ return xFunc;
+}
+
+void FuChar::DoExecute( SfxRequest& rReq )
+{
const SfxItemSet* pArgs = rReq.GetArgs();
if( !pArgs )
@@ -96,7 +107,7 @@ FuChar::FuChar (
SfxItemSet aEditAttr( pDoc->GetPool() );
pView->GetAttributes( aEditAttr );
- SfxItemSet aNewAttr( pViewSh->GetPool(),
+ SfxItemSet aNewAttr( pViewShell->GetPool(),
EE_ITEMS_START, EE_ITEMS_END );
aNewAttr.Put( aEditAttr, FALSE );
@@ -154,4 +165,12 @@ FuChar::FuChar (
}
}
+void FuChar::Activate()
+{
+}
+
+void FuChar::Deactivate()
+{
+}
+
} // end of namespace sd