summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-22 00:50:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-22 00:50:05 +0100
commit3305a95b2951a7089c268938319552ccda4b5f1c (patch)
tree8fd7821cf97a7bd4c66b09bc76fbea66b5f95ddb /sd
parent5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 (diff)
adapt for new api
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index 539c6864b15c..21c9093b2405 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -698,8 +698,8 @@ void CustomAnimationCreateDialog::storePosition()
// save settings (screen position and current page)
SvtViewOptions aDlgOpt(
E_TABDIALOG, String::CreateFromInt32( DLG_CUSTOMANIMATION_CREATE ) );
- aDlgOpt.SetWindowState(
- OUString::createFromAscii( GetWindowState( WINDOWSTATE_MASK_POS ).GetBuffer() ) );
+ aDlgOpt.SetWindowState(OStringToOUString(
+ GetWindowState(WINDOWSTATE_MASK_POS), RTL_TEXTENCODING_ASCII_US));
}
}